mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-16 01:43:01 -06:00
Reset local repo before pulling latest update
This commit is contained in:
parent
c178de1c86
commit
26c791cacb
|
|
@ -7,6 +7,7 @@ const clientPath = path.resolve(__dirname, 'client');
|
||||||
const serverPath = path.resolve(__dirname, 'server');
|
const serverPath = path.resolve(__dirname, 'server');
|
||||||
|
|
||||||
process.stdout.write('Pulling new version from github...');
|
process.stdout.write('Pulling new version from github...');
|
||||||
|
childProcess.execSync('git reset --hard', { stdio: ['ignore', 'ignore', 'pipe'] });
|
||||||
childProcess.execSync('git pull', { stdio: ['ignore', 'ignore', 'pipe'] });
|
childProcess.execSync('git pull', { stdio: ['ignore', 'ignore', 'pipe'] });
|
||||||
process.stdout.write(' done\n');
|
process.stdout.write(' done\n');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue