Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Commit

Permalink
[vknabel/sourcekite#9] Fixed ignored ToolchainPath
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Jan 20, 2020
1 parent b1442c7 commit 7f2b4e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 2.8.3

- Fixed ignored Toolchain Path [vknabel/sourcekite#9](https://github.com/vknabel/sourcekite/issues/9)

## 2.8.2

- Fixed diagnostics not being shown [#58](https://github.com/vknabel/sourcekite/issues/58) [#57](https://github.com/vknabel/vscode-swift-development-environment/issues/57)
- Fixed diagnostics not being shown [#58](https://github.com/vknabel/vscode-swift-development-environment/issues/58) [#57](https://github.com/vknabel/vscode-swift-development-environment/issues/57)

## 2.8.1

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/vknabel"
},
"license": "Apache-2.0",
"version": "2.8.2",
"version": "2.8.3",
"publisher": "vknabel",
"icon": "icons/icon.png",
"galleryBanner": {
Expand Down
2 changes: 1 addition & 1 deletion src/server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ connection.onInitialize(
uri.replace("file://", "")
);
skProtocolPath = params.initializationOptions.skProtocolProcess;
Current.config.toolchainPath = params.initializationOptions.toolchainPath;
skProtocolProcessAsShellCmd =
params.initializationOptions.skProtocolProcessAsShellCmd;
skCompilerOptions = params.initializationOptions.skCompilerOptions;
Expand Down Expand Up @@ -136,7 +137,6 @@ connection.onDidChangeConfiguration(change => {
Current.config.swiftPath = sdeSettings.path.swift_driver_bin;
Current.config.shellPath = sdeSettings.path.shell || "/bin/bash";
Current.config.targets = sdeSettings.targets || [];
Current.config.toolchainPath = sdeSettings.toolchainPath || null;

Current.log(`-->onDidChangeConfiguration tracing:
swiftDiverBinPath=[${Current.config.swiftPath}],
Expand Down

0 comments on commit 7f2b4e6

Please sign in to comment.