Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
formulahendry committed Jul 31, 2021
1 parent 0a26907 commit 5cf82b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/codeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class CodeManager implements vscode.Disposable {
private stopRunning() {
if (this._isRunning) {
this._isRunning = false;
vscode.commands.executeCommand('setContext', 'code-runner.codeRunning', false);
vscode.commands.executeCommand("setContext", "code-runner.codeRunning", false);
const kill = require("tree-kill");
kill(this._process.pid);
}
Expand Down Expand Up @@ -458,7 +458,7 @@ export class CodeManager implements vscode.Disposable {

private async executeCommandInOutputChannel(executor: string, appendFile: boolean = true) {
this._isRunning = true;
vscode.commands.executeCommand('setContext', 'code-runner.codeRunning', true);
vscode.commands.executeCommand("setContext", "code-runner.codeRunning", true);
const clearPreviousOutput = this._config.get<boolean>("clearPreviousOutput");
if (clearPreviousOutput) {
this._outputChannel.clear();
Expand All @@ -484,7 +484,7 @@ export class CodeManager implements vscode.Disposable {

this._process.on("close", (code) => {
this._isRunning = false;
vscode.commands.executeCommand('setContext', 'code-runner.codeRunning', false);
vscode.commands.executeCommand("setContext", "code-runner.codeRunning", false);
const endTime = new Date();
const elapsedTime = (endTime.getTime() - startTime.getTime()) / 1000;
this._outputChannel.appendLine("");
Expand Down

0 comments on commit 5cf82b2

Please sign in to comment.