chore: lint

This commit is contained in:
coderaiser 2023-08-07 17:40:25 +03:00
parent 13279299c4
commit 24dcf78be8
16 changed files with 25 additions and 26 deletions

View file

@ -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/');
}