@atscript/core 0.0.29 → 0.0.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -948,7 +948,7 @@ async function resolveConfigFile(docUri, _root) {
|
|
|
948
948
|
const startDir = docUri.endsWith(".as") ? node_path.default.dirname(docUri) : docUri;
|
|
949
949
|
const root$1 = _root || startDir;
|
|
950
950
|
let currentDir = startDir;
|
|
951
|
-
const rootId =
|
|
951
|
+
const rootId = `file://${root$1}`;
|
|
952
952
|
while (true) {
|
|
953
953
|
const candidate = await findConfigFileName(currentDir);
|
|
954
954
|
if (candidate) return node_path.default.join(currentDir, candidate).replace(/^file:/, "");
|
package/dist/index.mjs
CHANGED
|
@@ -924,7 +924,7 @@ async function resolveConfigFile(docUri, _root) {
|
|
|
924
924
|
const startDir = docUri.endsWith(".as") ? path.dirname(docUri) : docUri;
|
|
925
925
|
const root$1 = _root || startDir;
|
|
926
926
|
let currentDir = startDir;
|
|
927
|
-
const rootId =
|
|
927
|
+
const rootId = `file://${root$1}`;
|
|
928
928
|
while (true) {
|
|
929
929
|
const candidate = await findConfigFileName(currentDir);
|
|
930
930
|
if (candidate) return path.join(currentDir, candidate).replace(/^file:/, "");
|