mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(cloudcmd) when prefix=/ clear prefix
This commit is contained in:
parent
d62049cd59
commit
d7957002ee
1 changed files with 2 additions and 0 deletions
|
|
@ -71,6 +71,8 @@
|
|||
case 'prefix':
|
||||
if (!~value.indexOf('/'))
|
||||
value = '/' + value;
|
||||
else if (value.length === 1)
|
||||
value = '';
|
||||
|
||||
prefix = value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue