diff --git a/src/util/file_reader.ts b/src/util/file_reader.ts index 0687a0ef..7eea4162 100644 --- a/src/util/file_reader.ts +++ b/src/util/file_reader.ts @@ -49,8 +49,7 @@ async function collectGitBehaviors(gitUrl: string): Promise { const relPath = params.get("path") || ""; const urlStripped = url.split("?")[0]; - const timestamp = Date.now(); - const tmpDir = `/tmp/behaviors-repo-${timestamp}`; + const tmpDir = `/tmp/behaviors-repo-${crypto.randomBytes(4).toString("hex")}`; let cloneCommand = "git clone "; if (branch) {