1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 14:05:45 +01:00

Always try and return a nsIFile from io.createTempFile.

This commit is contained in:
Doug Kearns
2009-06-25 23:36:34 +10:00
parent a64565e1b6
commit 4afccff5e9

View File

@@ -725,11 +725,7 @@ function IO() //{{{
file.append(tmpName);
file.createUnique(Ci.nsIFile.NORMAL_FILE_TYPE, 0600);
if (file.exists())
return file;
else
return null; // XXX
return file;
},
/**