From 010267e78e3091008ec87ecc381d9ae361555959 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 14 Mar 2017 17:40:25 -0700 Subject: [PATCH] config: minor. --- lib/node/config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/node/config.js b/lib/node/config.js index adf50284..7744bbdb 100644 --- a/lib/node/config.js +++ b/lib/node/config.js @@ -556,6 +556,9 @@ Config.prototype.getFile = function getFile(file) { */ Config.prototype.ensure = function ensure() { + if (fs.unsupported) + return Promise.resolve(); + return fs.mkdirp(this.prefix); };