UNPKG

@naturalcycles/ktlint

Version:

ktlint, conveniently published to npm registry

6 lines (5 loc) 202 B
import { runCommandSafe } from './exec.util.js'; import { ktlintPath } from './paths.js'; export async function ktlintAll(args = [], opt) { await runCommandSafe(ktlintPath, ['-F', ...args], opt); }