Skip to content

Commit

Permalink
autodetect runtime on require execjs/pcruntime
Browse files Browse the repository at this point in the history
  • Loading branch information
White-Green committed Jul 27, 2023
1 parent bcd7385 commit c93be62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/execjs/pcruntime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
require 'execjs'
require 'execjs/pcruntime/version'
require 'execjs/pcruntime/runtimes'

ExecJS.runtime = ExecJS::Runtimes.autodetect

0 comments on commit c93be62

Please sign in to comment.