Skip to content

Commit aa8884d

Browse files
authored
Use safe navigation operator (#238)
1 parent 7ad347b commit aa8884d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/sass/Rakefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,7 @@ file 'cli.rb' => %w[dart-sass] do |t|
8383
INTERPRETER = '#{interpreter}'
8484
8585
COMMAND = [
86-
*(ELF::INTERPRETER unless ELF::INTERPRETER.nil? ||
87-
ELF::INTERPRETER == INTERPRETER ||
88-
!ELF::INTERPRETER.end_with?(INTERPRETER)),
86+
*(ELF::INTERPRETER if ELF::INTERPRETER != INTERPRETER && ELF::INTERPRETER&.end_with?(INTERPRETER)),
8987
#{command_source}
9088
].freeze
9189
end

0 commit comments

Comments
 (0)