Merge pull request #846 from balena-io/fix-sync

Fix sync.js after move to balena-sync
This commit is contained in:
CameronDiver 2018-12-13 14:31:39 +00:00 committed by GitHub
commit 6011688041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@
fs = require('fs');
doSync = require('balena-sync').sync('local-resin-os-device').sync;
doSync = require('balena-sync').sync('local-balena-os-device').sync;
// Avoid a super confusing error where the cwd doesn't exist
dir = __dirname + '/dist';
@ -25,7 +25,7 @@ opts = {
destination: '/usr/src/app/dist',
appName: 'resin_supervisor',
skipGitignore: true,
before: 'npm install && npm run build -- --env.noOptimize'
before: 'npm install && npm run build -- --env.noOptimize',
};
doSync(opts);