Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Look for purs{,.exe} #30

Merged
merged 1 commit into from
Apr 20, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -99,7 +99,7 @@ function use(version) {

cleanCurrentVersion()
.then(function () {
return glob('+(psc*|purs)', {
return glob('+(psc*|purs|purs.exe)', {
cwd: srcPath
});
})
Expand Down