Linter warnings fixed.

This commit is contained in:
lilliputten
2018-04-04 17:47:56 +03:00
parent 0deecda4f5
commit fa92a69ff3

View File

@@ -20,10 +20,10 @@ function getSymbols(callback) {
});
}
const srcPath = path.posix.resolve(__dirname, '../src').replace(/\\/g,'/');
const srcPath = path.posix.resolve(__dirname, '../src').replace(/\\/g, '/');
function getPath(name) {
const fullPath = require.resolve(path.resolve('src', name));
return './' + path.posix.relative(srcPath, fullPath.replace(/\\/g,'/'));
return './' + path.posix.relative(srcPath, fullPath.replace(/\\/g, '/'));
}
/**