Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit f3d28de

Browse files
committed
fix warning
1 parent 00d3fef commit f3d28de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/util.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
import * as childProcess from "child_process";
55
import * as fs from "fs";
6+
import * as iconv from "iconv-lite";
67
import * as os from "os";
78
import * as path from "path";
89
import * as properties from "properties";
910
import * as vscode from "vscode";
1011
import * as WinReg from "winreg";
11-
import * as iconv from "iconv-lite";
1212

1313
/**
1414
* This function will return the VSCode C/C++ extesnion compatible platform literals.
@@ -206,7 +206,7 @@ export function spawn(command: string, outputChannel: vscode.OutputChannel, args
206206

207207
let codepage = "65001";
208208
if (os.platform() === "win32") {
209-
codepage = childProcess.execSync('chcp').toString().split(':').pop().trim();
209+
codepage = childProcess.execSync("chcp").toString().split(":").pop().trim();
210210
}
211211

212212
if (outputChannel) {

0 commit comments

Comments
 (0)