mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 18:32:36 +01:00
Fix bug caused by last commit.
This commit is contained in:
@@ -489,7 +489,7 @@ var IO = Module("io", {
|
|||||||
* otherwise, the return value of *func*.
|
* otherwise, the return value of *func*.
|
||||||
*/
|
*/
|
||||||
withTempFiles: function (func, self, checked) {
|
withTempFiles: function (func, self, checked) {
|
||||||
let args = array(util.range(0, func.length)).map(this.createTempFile).array;
|
let args = array(util.range(0, func.length)).map(this.closure.createTempFile).array;
|
||||||
try {
|
try {
|
||||||
if (!args.every(util.identity))
|
if (!args.every(util.identity))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user