chore(rest) add " "

This commit is contained in:
coderaiser 2017-10-23 18:12:37 +03:00
parent 35b954ab46
commit 3d874b9326
2 changed files with 2 additions and 2 deletions

View file

@ -346,7 +346,7 @@ function copyFiles(files, processFunc, callback) {
function isRootWin32(path) {
const isRoot = path === '/';
const isConfig = config('root') === '/';
return isWin32 && isRoot && isConfig;
}

View file

@ -26,7 +26,7 @@ test('rest: formatMsg: json', (t) => {
test('rest: getWin32RootMsg', (t) => {
const {message}= _getWin32RootMsg();
t.equal(message,'Could not copy from\/to root on windows!', 'should return error');
t.equal(message,'Could not copy from/to root on windows!', 'should return error');
t.end();
});