refactor(benchmark): Use kebab-case for file and directory names (#10787)

This commit is contained in:
Tomi Turtiainen
2024-09-12 16:06:43 +03:00
committed by GitHub
parent 86f4877bab
commit 8fdbf25837
52 changed files with 54 additions and 51 deletions

View File

@@ -0,0 +1,15 @@
#!/usr/bin/env zx
import path from 'path';
import { fs } from 'zx';
/**
* Creates the needed directories so the permissions get set correctly.
*/
export function setup({ runDir }) {
const neededDirs = ['n8n', 'postgres'];
for (const dir of neededDirs) {
fs.ensureDirSync(path.join(runDir, dir));
}
}