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.
1 parent 38256c1 commit 7d87dcdCopy full SHA for 7d87dcd
worker.js
@@ -3,7 +3,7 @@ var fs = require('fs')
3
var path = require('path')
4
5
function shellCommand(command) {
6
- if (!command.replace(/#[^\n]*/g, '').trim().length) return
+ if (!command || !command.replace(/#[^\n]*/g, '').trim().length) return
7
return {
8
command: 'sh',
9
args: ['-x', '-c', command]
0 commit comments