Skip to content

Commit

Permalink
Remove dependency on Ocran module from Direction class
Browse files Browse the repository at this point in the history
Replaced 'Ocran.script' with '@option.script' to centralize and localize script handling within the Direction class.
  • Loading branch information
shinokaro committed Jul 29, 2024
1 parent 1b75c10 commit 86969ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ocran/direction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def to_proc

# Add the opcode to launch the script
installed_ruby_exe = BINDIR / ruby_executable
target_script = builder.resolve_source_path(Ocran.script, inst_src_prefix)
target_script = builder.resolve_source_path(@option.script, inst_src_prefix)
builder.exec(installed_ruby_exe, target_script, *@option.argv)
end
end
Expand Down

0 comments on commit 86969ac

Please sign in to comment.