Skip to content

Commit

Permalink
safer
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Sep 10, 2024
1 parent a37c44f commit 78e79e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions judges/say-hello/hello-said.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ input:
_id: 1
what: something-else
when: 2024-05-12T23:54:24Z
hi: 'How are you?'
expected:
- /fb[count(f)=1]
- /fb/f[_id=1]/hello
2 changes: 1 addition & 1 deletion judges/say-hello/say-hello.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@

require 'fbe/fb'

Fbe.fb.query('(absent hello)').each do |f|
Fbe.fb.query('(and (exists hi) (absent hello))').each do |f|
f.hello = say('Hello, {name}!')
end

1 comment on commit 78e79e6

@0crat
Copy link

@0crat 0crat commented on 78e79e6 Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yegor256 It is not a good idea to push directly to the default branch master. You've earned -16 points. Next time, create a new branch, push your changes over there, then make a pull request and merge it. Even if you are flying solo, contributing via pull requests is a good practice. Your running balance is -227.

Please sign in to comment.