We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff5f925 + d7d82de commit 874cfedCopy full SHA for 874cfed
lib/runfile/runner.rb
@@ -85,7 +85,7 @@ def run(*argv)
85
docopt_exec argv
86
rescue Docopt::Exit => ex
87
puts ex.message
88
- exit 1
+ exit 2
89
end
90
91
@@ -144,11 +144,12 @@ def handle_no_runfile(argv)
144
maker = RunfileHelper.new
145
maker.purge_settings if @ignore_settings
146
runfile = maker.handle argv
147
- if runfile
148
- @superspace = argv[0]
149
- execute argv, runfile
150
- end
151
+
+ exit 3 unless runfile
+ @superspace = argv[0]
+ execute argv, runfile
152
+ exit
153
154
155
def expand_shortcuts(argv)
0 commit comments