1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 13:14:11 +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

@@ -544,7 +544,7 @@ var File = Class("File", {
mode = File.MODE_WRONLY | File.MODE_CREATE | File.MODE_TRUNCATE;
if (!perms)
perms = octal(644);
perms = 0o644;
if (!this.exists()) // OCREAT won't create the directory
this.create(this.NORMAL_FILE_TYPE, perms);