mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +01:00
Fix some more CPG breakage.
This commit is contained in:
@@ -1007,7 +1007,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
// Try to find a matching file.
|
||||
let file = io.File(url);
|
||||
if (file.exists() && file.isReadable())
|
||||
return services.io.newFileURI(file).spec;
|
||||
return file.URI.spec;
|
||||
}
|
||||
catch (e) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user