We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fac33dd + 48c4ebe commit 10b90e7Copy full SHA for 10b90e7
gulpfile.js
@@ -53,13 +53,9 @@ gulp.task('br', function (done) {
53
gulp.task('clasp', function (cb) {
54
cb = cb || console.log;
55
// const cmd = spawn('./node_modules/.bin/clasp', ['push'], {
56
- const cmd = spawn(
57
- '/home/user/.nvm/versions/node/v14.15.3/bin/clasp',
58
- ['push'],
59
- {
60
- stdio: 'inherit',
61
- }
62
- );
+ const cmd = spawn('npx', ['clasp', 'push'], {
+ stdio: 'inherit',
+ });
63
cmd.on('close', function (code) {
64
console.log('clasp exited with code ' + code);
65
cb(code);
0 commit comments