style: format tests and helpers
This commit is contained in:
@@ -91,7 +91,10 @@ describe("logger helpers", () => {
|
||||
});
|
||||
|
||||
function pathForTest() {
|
||||
const file = path.join(os.tmpdir(), `clawdbot-log-${crypto.randomUUID()}.log`);
|
||||
const file = path.join(
|
||||
os.tmpdir(),
|
||||
`clawdbot-log-${crypto.randomUUID()}.log`,
|
||||
);
|
||||
fs.mkdirSync(path.dirname(file), { recursive: true });
|
||||
return file;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user