Skip to content

Commit

Permalink
fix(squirrel.windows): include output to error message #804
Browse files Browse the repository at this point in the history
  • Loading branch information
develar committed Oct 10, 2016
1 parent 43527e4 commit 5762d0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/targets/squirrelPack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
maxBuffer: 4 * 1024000,
})).trim()
if (debug.enabled) {
debug(out)
debug(`Squirrel output: ${out}`)
}

const lines = out.split("\n")
Expand All @@ -198,7 +198,7 @@ async function releasify(options: SquirrelOptions, nupkgPath: string, outputDire
}
}

throw new Error("Invalid output, cannot find last release entry")
throw new Error(`Invalid output, cannot find last release entry, output: ${out}`)
}

async function msi(options: SquirrelOptions, nupkgPath: string, setupPath: string, outputDirectory: string, outFile: string) {
Expand Down

0 comments on commit 5762d0f

Please sign in to comment.