mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(cloudcmd) value -> typeof value
This commit is contained in:
parent
410cb62fac
commit
116f7359df
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
|||
value = createPass(config('algo'), value);
|
||||
break;
|
||||
case 'prefix':
|
||||
if (value) {
|
||||
if (typeof value === 'string') {
|
||||
if (!~value.indexOf('/'))
|
||||
value = '/' + value;
|
||||
else if (value.length === 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue