mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 14:25:51 +01:00
Some minor cleanup and fixes.
This commit is contained in:
@@ -264,7 +264,7 @@ const File = Class("File", {
|
||||
if (path instanceof Ci.nsIFile)
|
||||
file = path.QueryInterface(Ci.nsIFile).clone();
|
||||
else if (/file:\/\//.test(path))
|
||||
file = services["File:"]().getFileFromURLSpec(path);
|
||||
file = services["file:"]().getFileFromURLSpec(path);
|
||||
else {
|
||||
try {
|
||||
let expandedPath = File.expandPath(path);
|
||||
|
||||
Reference in New Issue
Block a user