diff options
author | Kevin Newton <[email protected]> | 2024-04-25 13:32:08 -0400 |
---|---|---|
committer | Kevin Newton <[email protected]> | 2024-04-25 14:59:48 -0400 |
commit | af24ba40344cdd83865c7c580756352be526794a (patch) | |
tree | cd401056c73249aed5a77003dee796682711d989 /ruby.c | |
parent | 6f4f360fc46269eaba753cafe557519677a45a11 (diff) |
[PRISM] Raise LoadError when file cannot be read
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2157,7 +2157,7 @@ prism_script(ruby_cmdline_options_t *opt, pm_parse_result_t *result) } else { pm_options_command_line_set(options, command_line); - error = pm_load_file(result, opt->script_name); + error = pm_load_file(result, opt->script_name, true); // If reading the file did not error, at that point we load the command // line options. We do it in this order so that if the main script fails |