Skip to content

Commit

Permalink
Fix return value of execAsar
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Apr 27, 2019
1 parent a812215 commit c3ccb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/cli-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ async function execAsar (args) {
}

async function assertAsarOutputMatches (args, expectedFilename) {
const [stdout, expectedContents] = await Promise.all([execAsar(args), fs.readFile(expectedFilename, 'utf8')])
return compFileLists(stdout.join(''), `${expectedContents}\n`)
const [{ stdout, stderr }, expectedContents] = await Promise.all([execAsar(args), fs.readFile(expectedFilename, 'utf8')])
return compFileLists(stdout, `${expectedContents}\n`)
}

describe('command line interface', function () {
Expand Down

0 comments on commit c3ccb19

Please sign in to comment.