Skip to content

Commit

Permalink
Merge pull request sintaxi#218 from remy/master
Browse files Browse the repository at this point in the history
Failed compile exits with error
  • Loading branch information
sintaxi committed Jan 30, 2014
2 parents 1250a32 + d85c972 commit 74a4674
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/harp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ program
}

harp.compile(projectPath, outputPath, function(errors, output){
if(errors) console.log(JSON.stringify(errors, null, 2))
if(errors) {
console.log(JSON.stringify(errors, null, 2))
process.exit(1)
}
})
})

Expand Down

0 comments on commit 74a4674

Please sign in to comment.