Skip to content

Commit

Permalink
Fix the Setup._compile() method
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Nov 13, 2024
1 parent 543d81c commit 008a8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class Setup
# Compiles the sources of the HashLink VM located in the specified directory.
# Returns the path to the output directory.
_compile: (directory) ->
Promise.reject Error "Compilation is not supported on \"#{platform}\" platform." if platform not in ["darwin", "linux"]
return Promise.reject Error "Compilation is not supported on \"#{platform}\" platform." if platform not in ["darwin", "linux"]

workingDirectory = cwd()
chdir directory
Expand Down

0 comments on commit 008a8cc

Please sign in to comment.