Skip to content

Commit ba36fc2

Browse files
committed
Update gulp
Signed-off-by: Alex Ivanov <ai@contributor.pw>
1 parent 565d67c commit ba36fc2

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)