@naturalcycles/dev-lib 15.13.0 → 15.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lint.util.js +2 -2
- package/package.json +1 -1
package/dist/lint.util.js
CHANGED
|
@@ -204,14 +204,14 @@ function runCommitlintCommand() {
|
|
|
204
204
|
const sharedConfig = `${paths_1.cfgDir}/commitlint.config.js`;
|
|
205
205
|
const config = node_fs_1.default.existsSync(localConfig) ? localConfig : sharedConfig;
|
|
206
206
|
const env = {
|
|
207
|
-
...process.env, // important to pass it through, to preserve $PATH
|
|
208
207
|
GIT_BRANCH: nodejs_lib_1.git2.getCurrentBranchName(),
|
|
209
208
|
};
|
|
210
209
|
// await execWithArgs(`commitlint`, [`--edit`, editMsg, `--config`, config], { env })
|
|
211
210
|
nodejs_lib_1.exec2.spawn(`node ./node_modules/.bin/commitlint --edit ${editMsg} --config ${config}`, {
|
|
212
211
|
env,
|
|
213
|
-
passProcessEnv:
|
|
212
|
+
passProcessEnv: true, // important to pass it through, to preserve $PATH
|
|
214
213
|
forceColor: false,
|
|
214
|
+
log: false,
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
async function runKTLint() {
|