mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
chore(cloudfunc) semicolon
This commit is contained in:
parent
d164830770
commit
7c38e5b8c6
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ module.exports.buildFromJSON = (params) => {
|
|||
/* Если мы не в корне */
|
||||
if (path !== '/') {
|
||||
/* убираем последний слеш и каталог в котором мы сейчас находимся*/
|
||||
const lastSlash = path.substr(path, path.lastIndexOf('/'))
|
||||
const lastSlash = path.substr(path, path.lastIndexOf('/'));
|
||||
const dotDot = lastSlash.substr(lastSlash, lastSlash.lastIndexOf('/'));
|
||||
|
||||
const link = prefix + FS + (dotDot || '/');
|
||||
|
|
@ -234,5 +234,5 @@ function store() {
|
|||
|
||||
return data.value;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue