UNPKG

@naturalcycles/ktlint

Version:

ktlint, conveniently published to npm registry

9 lines (8 loc) 318 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ktlintAll = ktlintAll; const exec_util_1 = require("./exec.util"); const paths_1 = require("./paths"); async function ktlintAll(args = [], opt) { await (0, exec_util_1.runCommandSafe)(paths_1.ktlintPath, ['-F', ...args], opt); }