Files
Agent-n8n/n8n-n8n-1.109.2/packages/@n8n/benchmark/scripts/n8n-setups/sqlite/setup.mjs
2025-09-08 04:48:28 +08:00

16 lines
298 B
JavaScript
Executable File

#!/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'];
for (const dir of neededDirs) {
fs.ensureDirSync(path.join(runDir, dir));
}
}