Browse Source

Fixing variable rename typo.

Daniel Scalzi 7 years ago
parent
commit
05ebb80f19
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/assets/js/assetguard.js

+ 1 - 1
app/assets/js/assetguard.js

@@ -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
     }
 
     /**