1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 15:45: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

@@ -322,7 +322,7 @@ var IO = Module("io", {
createTempFile: function createTempFile(ext="txt", label="") {
let file = services.directory.get("TmpD", Ci.nsIFile);
file.append(config.name + label + "." + ext);
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, octal(666));
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0o666);
services.externalApp.deleteTemporaryFileOnExit(file);