lint: fix errors and ignore indentation in template string vars

This commit is contained in:
jean-emmanuel 2019-04-02 10:07:16 +02:00
parent c08469d795
commit 2dab26326d
6 changed files with 14 additions and 16 deletions

View file

@ -374,7 +374,7 @@ module.exports = {
listDir: function(data, clientId) {
var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME'];
var p = process.env[(process.platform == 'win32') ? 'USERPROFILE' : 'HOME']
if (data.path) p = path.resolve(...data.path)