Skip to content

Commit

Permalink
Safe navigation for
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Apr 3, 2024
1 parent 6cbc81a commit 5fdaf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/react_on_rails/git_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ReactOnRails
module GitUtils
def self.uncommitted_changes?(message_handler, git_installed = $CHILD_STATUS.success?)
def self.uncommitted_changes?(message_handler, git_installed = $CHILD_STATUS&.success?)
return false if ENV["COVERAGE"] == "true"

status = `git status --porcelain`
Expand Down

0 comments on commit 5fdaf66

Please sign in to comment.