scripting-cli 1.1.7 → 1.1.8
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/package.json +1 -1
- package/src/util.ts +2 -2
package/package.json
CHANGED
package/src/util.ts
CHANGED
|
@@ -114,5 +114,5 @@ export async function writeDtsFiles(files: Record<string, string>) {
|
|
|
114
114
|
|
|
115
115
|
export function getRelativePath(from: string, to: string) {
|
|
116
116
|
const relativePath = path.relative(from, to);
|
|
117
|
-
return relativePath.
|
|
118
|
-
}
|
|
117
|
+
return relativePath.replaceAll("\\", "/");
|
|
118
|
+
}
|