Skip to content

Commit c8e6845

Browse files
committed
fix(ci): template literal for biome lint, normalize mount paths for Windows
- Use template literal in setup.js to satisfy biome linter - Normalize stored mount paths to forward slashes for cross-platform consistency
1 parent 11a6c68 commit c8e6845

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/src/commands/mount/add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function registerMountAddCommand(parent: Command): void {
3838
}
3939

4040
// Convert to relative path from workspace root
41-
const relPath = relative(workspaceRoot, absPath);
41+
const relPath = relative(workspaceRoot, absPath).replaceAll("\\", "/");
4242
if (relPath.startsWith("..")) {
4343
console.error(
4444
`Error: path must be within workspace root (${workspaceRoot})`,

container/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ function configApply() {
479479

480480
if (!fs.existsSync(defaultManifest)) {
481481
console.error(
482-
"Error: default file-manifest.json not found at " + defaultManifest,
482+
`Error: default file-manifest.json not found at ${defaultManifest}`,
483483
);
484484
console.error("Are you in a CodeForge project directory?");
485485
process.exit(1);

0 commit comments

Comments
 (0)