snow-ai 0.6.14 → 0.6.15
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/bundle/cli.mjs +5 -1
- package/bundle/package.json +1 -1
- package/package.json +1 -1
package/bundle/cli.mjs
CHANGED
|
@@ -543694,7 +543694,11 @@ var init_FileList = __esm({
|
|
|
543694
543694
|
const selectedFile = allFilteredFiles[selectedIndex];
|
|
543695
543695
|
const baseDir = selectedFile.sourceDir || rootPath;
|
|
543696
543696
|
let fullPath;
|
|
543697
|
-
if (
|
|
543697
|
+
if (selectedFile.path.startsWith("ssh://")) {
|
|
543698
|
+
fullPath = selectedFile.path;
|
|
543699
|
+
} else if (path47.isAbsolute(selectedFile.path)) {
|
|
543700
|
+
fullPath = selectedFile.path;
|
|
543701
|
+
} else if (baseDir.startsWith("ssh://")) {
|
|
543698
543702
|
const cleanBase = baseDir.replace(/\/$/, "");
|
|
543699
543703
|
const cleanRelative = selectedFile.path.replace(/^\.\//, "").replace(/^\//, "");
|
|
543700
543704
|
fullPath = `${cleanBase}/${cleanRelative}`;
|
package/bundle/package.json
CHANGED