Change string to single quote
Remove semi-colon
This commit is contained in:
parent
0ed8688be4
commit
976686a328
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ module.exports = {
|
|||
if (data.path) {
|
||||
// Resolve '~' to user's home directory
|
||||
if (data.path[0].startsWith('~')) {
|
||||
p = data.path[0].replace( "~", p );
|
||||
p = data.path[0].replace( '~', p )
|
||||
}
|
||||
else {
|
||||
p = path.resolve(...data.path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue