Skip to content

Commit

Permalink
fix(Terminal Path): (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanDaoH authored Sep 6, 2019
1 parent eb96988 commit 4d4eec4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

所有对 "Aliyun Serverless" 插件的更改都将记录在这个文件中。

## 1.8.1 - 2019-09-06
## 1.8.2 - 2019-09-06
### Added
- 提供模版文件 template.yml 内触发器配置信息的智能提示
- 支持模版文件 template.yml 内触发器属性的自动补全
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"publisher": "aliyun",
"icon": "media/aliyun-serverless-extension.png",
"description": "Aliyun Function Compute extension. Lets you develop your serverless application of Aliyun within VSCode.",
"version": "1.8.1",
"version": "1.8.2",
"engines": {
"vscode": "^1.31.0"
},
Expand Down
5 changes: 1 addition & 4 deletions src/utils/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ function isExistFunctionComputeWorkerTerminal(): vscode.Terminal | null {

function createFunctionComputeTerminal(cwd?: string): vscode.Terminal {
const extBinPath = path.resolve(os.homedir(), '.aliyun-serverless', 'bin');
let binPath = extBinPath;
if (os.platform() === 'win32') {
binPath = `${process.env.PATH};${binPath}`;
}
const binPath = process.env.PATH + path.delimiter + extBinPath;
return vscode.window.createTerminal({
name: FUNCTION_COMPUTE_TERMINAL,
cwd,
Expand Down

0 comments on commit 4d4eec4

Please sign in to comment.