fix: Fix cli path on windows to launch connect shell

This commit is contained in:
Susmitha Girumala committed 2021-06-05 22:11:47 -04:00
1 parent 7b2c8b7d58
commit 196d01aae2
3 files changed
+18 -14

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
const path = require('path');
const { isWindows } = require('../helpers/platform.js');
module.exports = {
// Returns boundary cli path
path: () => {
let name = 'boundary';
if (isWindows()) name = 'boundary.exe';
return path.resolve(__dirname, '..', '..', 'cli', name);
}
};