Skip to content

Commit

Permalink
Simplify node_not_installed logic
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-antonopoulos committed Oct 29, 2024
1 parent 51a3298 commit b8a7db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/install/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def node_version
end

def node_not_installed?
!node_version.present?
node_version.blank?
end

def node_version_unsupported?
Expand Down
2 changes: 1 addition & 1 deletion lib/suspenders/generators.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def node_version
end

def node_not_installed?
!node_version.present?
node_version.blank?
end

def node_version_unsupported?
Expand Down

0 comments on commit b8a7db1

Please sign in to comment.