diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-27 14:21:09 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-07-27 14:21:09 +0900 |
| commit | 961cd408a86580c4d428f56153da00fd46738e35 (patch) | |
| tree | eaa7f51b5079b1641901fa4e177c98e8dbf74966 /tasks/mruby_build_commands.rake | |
| parent | e488393cbbdd4fd123d71c6c3bd067f1eee5c37a (diff) | |
| download | mruby-961cd408a86580c4d428f56153da00fd46738e35.tar.gz mruby-961cd408a86580c4d428f56153da00fd46738e35.zip | |
replace "if not" to "unless"
Diffstat (limited to 'tasks/mruby_build_commands.rake')
| -rw-r--r-- | tasks/mruby_build_commands.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build_commands.rake b/tasks/mruby_build_commands.rake index 19d0b70a2..349b8717d 100644 --- a/tasks/mruby_build_commands.rake +++ b/tasks/mruby_build_commands.rake @@ -263,7 +263,7 @@ module MRuby out.puts io.read end # if mrbc execution fail, drop the file - if not $?.exitstatus + unless $?.exitstatus File.delete(out.path) exit -1 end |
