Skip to content

Commit 48c4ebe

Browse files
Merge pull request #66 from contributorpw/develop
Update clear-all-events
2 parents b2f4644 + ba36fc2 commit 48c4ebe

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

gulpfile.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ gulp.task('br', function (done) {
5353
gulp.task('clasp', function (cb) {
5454
cb = cb || console.log;
5555
// 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-
);
56+
const cmd = spawn('npx', ['clasp', 'push'], {
57+
stdio: 'inherit',
58+
});
6359
cmd.on('close', function (code) {
6460
console.log('clasp exited with code ' + code);
6561
cb(code);

0 commit comments

Comments
 (0)