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

Commit

Permalink
Format source code (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashi009 authored Aug 22, 2019
1 parent 8a58ffb commit c6dcec7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ export class JsonnetDocumentFormattingEditProvider implements vscode.DocumentFor
public provideDocumentFormattingEdits(document: vscode.TextDocument, options: vscode.FormattingOptions, token: vscode.CancellationToken): Thenable<vscode.TextEdit[]> {
return this.formatter.getFormatEdits(document);
}
}
}
2 changes: 0 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

import * as fs from 'fs';
import * as path from 'path';
import * as os from 'os';

let binPathCache: { [bin: string]: string; } = {};
let runtimePathCache: string = '';

export function getBinPathFromEnvVar(toolName: string, envVarValue: string, appendBinToPath: boolean): string {
toolName = correctBinname(toolName);
Expand Down

0 comments on commit c6dcec7

Please sign in to comment.