lint: fix errors and ignore indentation in template string vars
This commit is contained in:
parent
c08469d795
commit
2dab26326d
6 changed files with 14 additions and 16 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue