From 9cf25770542dfbf35c710f7c214f65ecaad39100 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sat, 29 Feb 2020 00:07:29 +0200 Subject: vscode: rename nodeAssert -> nativeAssert --- editors/code/src/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/code/src') diff --git a/editors/code/src/util.ts b/editors/code/src/util.ts index 203494459..733bdc8c5 100644 --- a/editors/code/src/util.ts +++ b/editors/code/src/util.ts @@ -1,10 +1,10 @@ import * as lc from "vscode-languageclient"; import * as vscode from "vscode"; -import { strict as nodeAssert } from "assert"; +import { strict as nativeAssert } from "assert"; export function assert(condition: unknown, explanation: string): asserts condition { try { - nodeAssert(condition, explanation); + nativeAssert(condition, explanation); } catch (err) { log.error(`Assertion failed:`, explanation); throw err; -- cgit v1.2.3