n8n/packages/@n8n/benchmark/scripts/n8nSetups/sqlite/setup.mjs
2024-09-02 14:58:24 +03:00

17 lines
323 B
JavaScript

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