From 7c38e5b8c6117a6bc17f664a8a8430003d7bacaa Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 4 Apr 2017 15:54:50 +0300 Subject: [PATCH] chore(cloudfunc) semicolon --- server/cloudfunc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/cloudfunc.js b/server/cloudfunc.js index b066d9b4..d905bfa1 100644 --- a/server/cloudfunc.js +++ b/server/cloudfunc.js @@ -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; }; -}; +}