mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-08 18:33:28 +08:00
fix: skip detect-project bash test on Windows (path backslash incompatibility)
Co-authored-by: pangerlkr <73515951+pangerlkr@users.noreply.github.com>
This commit is contained in:
@@ -2150,6 +2150,10 @@ async function runTests() {
|
|||||||
|
|
||||||
if (
|
if (
|
||||||
await asyncTest('detect-project writes project metadata to the registry and project directory', async () => {
|
await asyncTest('detect-project writes project metadata to the registry and project directory', async () => {
|
||||||
|
if (process.platform === 'win32') {
|
||||||
|
console.log(' (skipped — bash script paths are not Windows-compatible)');
|
||||||
|
return true;
|
||||||
|
}
|
||||||
const testRoot = createTestDir();
|
const testRoot = createTestDir();
|
||||||
const homeDir = path.join(testRoot, 'home');
|
const homeDir = path.join(testRoot, 'home');
|
||||||
const repoDir = path.join(testRoot, 'repo');
|
const repoDir = path.join(testRoot, 'repo');
|
||||||
|
|||||||
Reference in New Issue
Block a user