Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 14, 2024
1 parent ab3e5e2 commit 82edeed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/crystal/command/spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ class Crystal::Command
output_filename = Crystal.temp_executable "spec"

ENV["CRYSTAL_SPEC_COMPILER_BIN"] ||= if crystal_exec_path = ENV["CRYSTAL_EXEC_PATH"]?
File.join(crystal_exec_path, "crystal")
else
Process.executable_path
end
File.join(crystal_exec_path, "crystal")
else
Process.executable_path
end

compiler.compile sources, output_filename
report_warnings
Expand Down

0 comments on commit 82edeed

Please sign in to comment.