Skip to content

Commit

Permalink
fix: go build on win (#6686)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfoyle authored Feb 22, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e6f0cd4 commit 966726c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@ export const buildResource = async ({ buildType, srcRoot, lastBuildTimeStamp }:
const outDir = path.join(srcRoot, buildDir);

const isWindows = process.platform.startsWith('win');
const executableName = isWindows && buildType ? MAIN_BINARY_WIN : MAIN_BINARY;
const executableName = isWindows && buildType === BuildType.DEV ? MAIN_BINARY_WIN : MAIN_BINARY;
const executablePath = path.join(outDir, executableName);

if (!lastBuildTimeStamp || isBuildStale(srcRoot, lastBuildTimeStamp, outDir)) {

0 comments on commit 966726c

Please sign in to comment.