Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Commit

Permalink
Release 1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
darraghd493 authored May 27, 2022
1 parent 9135cc4 commit 3f15943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "synapse-x-vsc-executor",
"description": "A Synapse X execution function for Visual Studio Code using websockets.",
"version": "1.0.12",
"version": "1.0.13",
"publisher": "doge2018",
"repository": "https://github.com/dogesupremacy/SynapseXVSCExecutor/",
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ function execute(client) {

if (activeEditor === undefined)
return vscode.window.showInformationMessage("No active editor.");

if (!authenticated)
return vscode.window.showInformationMessage("Not authenticated with a client.");

executeScript(client, activeEditor.document.getText());
}

function executeScript(client, script) {
if (!authenticated)
return vscode.window.showInformationMessage("Not authenticated with a client.");

client.send(script);
}

Expand Down

0 comments on commit 3f15943

Please sign in to comment.