mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 14:08:11 +01:00
@@ -466,7 +466,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);
|
let args = array(util.range(0, func.length)).map(this.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