Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fdb0400

Browse files
committed
Need an explicit #exit to tell rake the exit status, not just returning the exit code
1 parent 42bb2a4 commit fdb0400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/syntax_tree/rake/task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def command
6161

6262
def define_task
6363
desc "Runs `stree #{command}` over source files"
64-
task(name) { run_task }
64+
task(name) { exit run_task }
6565
end
6666

6767
def run_task

0 commit comments

Comments
 (0)