Skip to content

Commit

Permalink
fixes for haxe 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed May 12, 2021
1 parent 7bb9e26 commit c609db8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Extension.hx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Extension {
var hlVersion:String = js.node.ChildProcess.execSync('$hl --version');
if(hlVersion <= "1.11.0") {
final visitButton = "Get from GitHub";
Vscode.window.showErrorMessage('Your version of Hashlink (${hlVersion}) does not support debugging on Mac. Install a newer version from here:', visitButton).then(function(choice) {
Vscode.window.showErrorMessage('Your version of Hashlink (${hlVersion}) does not support debugging on Mac. Install a newer version from here:', null, visitButton).then(function(choice) {
if (choice == visitButton) {
Vscode.env.openExternal(Uri.parse("https://github.com/HaxeFoundation/hashlink"));
}
Expand Down
2 changes: 1 addition & 1 deletion src/HLAdapter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class HLAdapter extends DebugSession {
if( err.message == "spawn hl ENOENT" )
error(cast response, "Could not start 'hl' process, executable was not found in PATH.\nRestart VSCode or computer.");
else
error(cast response, 'Failed to start hl process ($err)');
error(cast response, 'Failed to start hl process (${err.message})');
});
}

Expand Down

0 comments on commit c609db8

Please sign in to comment.