mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(cloudcmd) prefix
This commit is contained in:
parent
dba345859f
commit
7fa6b8c51c
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
break;
|
||||
case 'prefix':
|
||||
if (typeof value === 'string') {
|
||||
if (!~value.indexOf('/'))
|
||||
if (value && !~value.indexOf('/'))
|
||||
value = '/' + value;
|
||||
else if (value.length === 1)
|
||||
value = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue