about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorVeetaha <gerzoh1@gmail.com>2020-02-29 00:07:29 +0200
committerVeetaha <gerzoh1@gmail.com>2020-02-29 00:07:29 +0200
commit9cf25770542dfbf35c710f7c214f65ecaad39100 (patch)
treeac51ea3a9e55a0a02c096ede870351d578261e46 /editors/code/src
parentb88887e70e0936132b03d8db065b7cf7db175f7b (diff)
downloadrust-9cf25770542dfbf35c710f7c214f65ecaad39100.tar.gz
rust-9cf25770542dfbf35c710f7c214f65ecaad39100.zip
vscode: rename nodeAssert -> nativeAssert
Diffstat (limited to 'editors/code/src')
-rw-r--r--editors/code/src/util.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/util.ts b/editors/code/src/util.ts
index 203494459c5..733bdc8c58c 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;