fix: fix default source if empty

This commit is contained in:
Dragan Filipovic 2023-01-03 22:06:00 +01:00
parent 8bf58fb293
commit 2520d9e7f7
2 changed files with 2 additions and 2 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,7 @@ inputNames.forEach((input) => {
// eslint-disable-next-line default-case
switch (inputName) {
case 'source':
extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : validVal;
extendedVal = validVal.indexOf(' ') > -1 ? validVal.split(' ') : (validVal || './');
break;
case 'args':
extendedVal = validVal.split(' ');