Skip to content

Commit 9cf2577

Browse files
author
Veetaha
committed
vscode: rename nodeAssert -> nativeAssert
1 parent b88887e commit 9cf2577

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/src/util.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import * as lc from "vscode-languageclient";
22
import * as vscode from "vscode";
3-
import { strict as nodeAssert } from "assert";
3+
import { strict as nativeAssert } from "assert";
44

55
export function assert(condition: unknown, explanation: string): asserts condition {
66
try {
7-
nodeAssert(condition, explanation);
7+
nativeAssert(condition, explanation);
88
} catch (err) {
99
log.error(`Assertion failed:`, explanation);
1010
throw err;

0 commit comments

Comments
 (0)