Commit f43ee8d for mammothjs

commit f43ee8dfbe2b028197e4d7706624871e791ebb1b
Author: Michael Williamson <mike@zwobble.org>
Date:   Wed Sep 16 23:41:44 2026 +0100

    Remove promises.nfcall()

diff --git a/lib/promises.js b/lib/promises.js
index 6ceee1c..e05cf11 100644
--- a/lib/promises.js
+++ b/lib/promises.js
@@ -43,12 +43,6 @@ exports.try = function(func) {
     }
 };

-exports.nfcall = function(func) {
-    var args = Array.prototype.slice.call(arguments, 1);
-    var promisedFunc = bluebird.promisify(func);
-    return promisedFunc.apply(null, args);
-};
-
 bluebird.prototype.also = function(func) {
     return this.then(function(value) {
         var returnValue = _.extend({}, value, func(value));
diff --git a/test/main.tests.js b/test/main.tests.js
index 06824f0..f1bc363 100644
--- a/test/main.tests.js
+++ b/test/main.tests.js
@@ -99,5 +99,5 @@ function tryRunMammoth(args) {
 }

 function createTempDir() {
-    return promises.nfcall(temp.mkdir, null);
+    return temp.mkdir();
 }