mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-12 20:55:46 +01:00
Replace calls to octal() with octal integer literals.
This commit is contained in:
@@ -79,7 +79,7 @@ var Cache = Module("Cache", XPCOM(Ci.nsIRequestObserver), {
|
||||
let dir = File(services.directory.get("ProfD", Ci.nsIFile))
|
||||
.child("dactyl");
|
||||
if (!dir.exists())
|
||||
dir.create(dir.DIRECTORY_TYPE, octal(777));
|
||||
dir.create(dir.DIRECTORY_TYPE, 0o777);
|
||||
return dir.child("cache.zip");
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user