mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore: lint
This commit is contained in:
parent
13279299c4
commit
24dcf78be8
16 changed files with 25 additions and 26 deletions
|
|
@ -109,7 +109,7 @@ module.exports._getPrefix = getPrefix;
|
|||
function getPrefix(prefix) {
|
||||
if (isFn(prefix))
|
||||
return prefix() || '';
|
||||
|
||||
|
||||
return prefix || '';
|
||||
}
|
||||
|
||||
|
|
@ -258,7 +258,7 @@ module.exports._replaceDist = replaceDist;
|
|||
function replaceDist(url) {
|
||||
if (!isDev)
|
||||
return url;
|
||||
|
||||
|
||||
return url.replace(/^\/dist\//, '/dist-dev/');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue