Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/azure-scripty.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ exports.exec = function exec(cmd, callback) {
catch(parsing_error)
{
callback(parsing_error,stdout);
return;
}
}
callback(undefined,json);
Expand Down
2 changes: 1 addition & 1 deletion test/azure-scripty.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ scripty.exec = (cmd, callback) ->
calls++;
receivedCmds.push(cmd);
if expectedCmds.length > 0
cmd.should.include expectedCmds.pop()
cmd.should.containEql expectedCmds.pop()
callback errors.pop(), results.pop()

describe 'scripty', ->
Expand Down
4 changes: 2 additions & 2 deletions test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--compilers coffee:coffee-script
--reporter spec
--compilers mocha --compilers coffee:coffee-script/register
--reporter spec