From 9de93ed8d7579d41517bcf92aab3e9e323f9d095 Mon Sep 17 00:00:00 2001 From: Felix Schlitter Date: Thu, 20 Apr 2017 23:32:40 +1200 Subject: [PATCH] Look for purs{,.exe} --- src/lib.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.js b/src/lib.js index 5a7cff6..0f2865f 100644 --- a/src/lib.js +++ b/src/lib.js @@ -81,7 +81,7 @@ function downloadVersion(version, os) { } function cleanCurrentVersion() { - return glob('+(psc*|purs)', { + return glob('+(psc*|purs|purs.exe)', { cwd: paths.PSVM_CURRENT_BIN }) .then(function (files) { @@ -99,7 +99,7 @@ function use(version) { cleanCurrentVersion() .then(function () { - return glob('+(psc*|purs)', { + return glob('+(psc*|purs|purs.exe)', { cwd: srcPath }); })