UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

13 lines 449 B
import { joinPath } from './path.js'; import { mkdir, writeFile } from './fs.js'; import { logsFolder } from '../../private/node/constants.js'; export const getLogsDir = () => { return logsFolder(); }; export const createLogsDir = async (path) => { await mkdir(joinPath(logsFolder(), path)); }; export const writeLog = async (path, logData) => { await writeFile(joinPath(logsFolder(), path), logData); }; //# sourceMappingURL=logs.js.map