fix: Fix cli path on windows to launch connect shell
This commit is contained in:
1 parent
7b2c8b7d58
commit
196d01aae2
3 files changed
+18
-14
No files matched your search
@@ -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);
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user