chore: remove console.* debug logging from non-CLI source files
This commit is contained in:
@@ -411,10 +411,7 @@ describe("createWriteExistingFileGuardHook", () => {
|
|||||||
try {
|
try {
|
||||||
symlinkSync(targetFile, symlinkPath)
|
symlinkSync(targetFile, symlinkPath)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn(
|
// Symlinks not supported in this environment — skip
|
||||||
"Skipping symlink test: symlinks are not supported or cannot be created in this environment.",
|
|
||||||
error
|
|
||||||
)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ describe("isServerInstalled", () => {
|
|||||||
try {
|
try {
|
||||||
rmSync(tempDir, { recursive: true, force: true })
|
rmSync(tempDir, { recursive: true, force: true })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(`Failed to clean up temp dir: ${e}`)
|
// cleanup failed — ignored
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.platform === "win32") {
|
if (process.platform === "win32") {
|
||||||
|
|||||||
Reference in New Issue
Block a user