Skip to content

Commit

Permalink
fixing compiler being 😠
Browse files Browse the repository at this point in the history
  • Loading branch information
spoo-bar committed Sep 25, 2022
1 parent 0e7965e commit aab6bae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/commands/cosmwasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ export class CosmwasmCmds {
if (jsonFile) {
vscode.workspace.openTextDocument(jsonFile).then((document) => {
let jsonInput = document.getText();
const cosmwasmExecutor = new Executer(context.globalState);
const cosmwasmExecutor = new Executer(context.globalState, true);
cosmwasmExecutor.Query(jsonInput, vscode.ProgressLocation.Notification);
});
}
else {
let activeFile = vscode.window.activeTextEditor;
if (activeFile) {
let jsonInput = activeFile.document.getText();
const cosmwasmExecutor = new Executer(context.globalState);
const cosmwasmExecutor = new Executer(context.globalState, true);
cosmwasmExecutor.Query(jsonInput, vscode.ProgressLocation.Notification);
}
}
Expand All @@ -57,15 +57,15 @@ export class CosmwasmCmds {
if (jsonFile) {
vscode.workspace.openTextDocument(jsonFile).then((document) => {
let jsonInput = document.getText();
const cosmwasmExecutor = new Executer(context.globalState);
const cosmwasmExecutor = new Executer(context.globalState, true);
cosmwasmExecutor.Execute(jsonInput, vscode.ProgressLocation.Notification);
});
}
else {
let activeFile = vscode.window.activeTextEditor;
if (activeFile) {
let jsonInput = activeFile.document.getText();
const cosmwasmExecutor = new Executer(context.globalState);
const cosmwasmExecutor = new Executer(context.globalState, true);
cosmwasmExecutor.Execute(jsonInput, vscode.ProgressLocation.Notification);
}
}
Expand Down

0 comments on commit aab6bae

Please sign in to comment.