mirror of
https://github.com/easingthemes/ssh-deploy.git
synced 2024-11-12 05:38:05 +00:00
Merge pull request #99 from easingthemes/bugfix/fix-empty-src
fix: fix default source if empty
This commit is contained in:
commit
7c21074882
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -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(' ');
|
||||
|
Loading…
Reference in New Issue
Block a user