1
0
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:
Doug Kearns
2014-06-30 19:24:10 +10:00
parent 2f39d0bb87
commit 007449a2e1
6 changed files with 7 additions and 7 deletions

View File

@@ -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");
}),