We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a071451 commit 8cab8c0Copy full SHA for 8cab8c0
packages/schema/src/utils/ast-utils.ts
@@ -30,7 +30,7 @@ import {
30
Mutable,
31
Reference,
32
} from 'langium';
33
-import path, { isAbsolute } from 'node:path';
+import path from 'node:path';
34
import { URI, Utils } from 'vscode-uri';
35
import { findNodeModulesFile } from './pkg-utils';
36
@@ -184,7 +184,7 @@ export function resolveImportUri(imp: ModelImport): URI | undefined {
184
185
if (
186
!imp.path.startsWith('.') && // Respect relative paths
187
- !isAbsolute(imp.path) // Respect Absolute paths
+ !path.isAbsolute(imp.path) // Respect Absolute paths
188
) {
189
// use the current model's path as the search context
190
const contextPath = imp.$container.$document
0 commit comments