Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
append '.exe' when single windows target. fixes #148
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Jun 28, 2017
1 parent de88da6 commit 42ff8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ export async function exec (argv2) { // eslint-disable-line complexity
if (targets.length === 1) {
const target = targets[0];
let file = output;
if (target.platform === 'win' && autoOutput) file += '.exe';
if (target.platform === 'win') file += '.exe';
target.output = file;
} else {
for (const target of targets) {
Expand Down

0 comments on commit 42ff8cb

Please sign in to comment.