Fixing variable rename typo.

This commit is contained in:
Daniel Scalzi 2018-04-12 16:42:26 -04:00
parent 4eb9d267eb
commit 05ebb80f19
No known key found for this signature in database
GPG Key ID: 5CA2F145B63535F9

View File

@ -892,7 +892,7 @@ class AssetGuard extends EventEmitter {
// /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
const pth = '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home'
const res = fs.existsSync(pth)
return res ? pthRoot : null
return res ? pth : null
}
/**