mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 10:01:55 +00:00
Merge pull request #846 from balena-io/fix-sync
Fix sync.js after move to balena-sync
This commit is contained in:
commit
6011688041
4
sync.js
4
sync.js
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user