From 98bce72295331f173ceb1127c0190556b0cbe9e0 Mon Sep 17 00:00:00 2001 From: Sanat Mouli Date: Tue, 7 Aug 2018 22:16:02 -0700 Subject: [PATCH] Fix output path for go-bindata-assetfs (#6253) --- browser/build.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/build.js b/browser/build.js index ff12e0238..3a29459af 100644 --- a/browser/build.js +++ b/browser/build.js @@ -70,9 +70,9 @@ async.waterfall([ commitId = stdout.replace('\n', '') if (commitId.length !== 40) throw new Error('commitId invalid : ' + commitId) assetsFileName = 'ui-assets.go'; - var cmd = 'go-bindata-assetfs -pkg browser -nocompress=true production/...' + var cmd = 'go-bindata-assetfs -o bindata_assetfs.go -pkg browser -nocompress=true production/...' if (!isProduction) { - cmd = 'go-bindata-assetfs -pkg browser -nocompress=true dev/...' + cmd = 'go-bindata-assetfs -o bindata_assetfs.go -pkg browser -nocompress=true dev/...' } console.log('Running', cmd) exec(cmd, cb)