Skip to content

Commit

Permalink
use PCRuntime instead of autodetect
Browse files Browse the repository at this point in the history
  • Loading branch information
White-Green committed Jul 28, 2023
1 parent 576ccc4 commit 4b6744a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/execjs/pcruntime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
require 'execjs/pcruntime/version'
require 'execjs/pcruntime/runtimes'

ExecJS.runtime = ExecJS::Runtimes.autodetect
ExecJS.runtime = ExecJS::Runtimes.from_environment || ExecJS::Runtimes::PCRuntime

0 comments on commit 4b6744a

Please sign in to comment.