@forsakringskassan/commitlint-config 3.0.7 → 3.0.8
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/install.js +7 -0
- package/package.json +1 -1
package/dist/install.js
CHANGED
|
@@ -706,11 +706,18 @@ var lineIterator = async function* (subprocess, { state }, streamName) {
|
|
|
706
706
|
if (!stream2) {
|
|
707
707
|
return;
|
|
708
708
|
}
|
|
709
|
+
handleErrors(subprocess);
|
|
709
710
|
yield* readline.createInterface({ input: stream2 });
|
|
710
711
|
} finally {
|
|
711
712
|
await subprocess;
|
|
712
713
|
}
|
|
713
714
|
};
|
|
715
|
+
var handleErrors = async (subprocess) => {
|
|
716
|
+
try {
|
|
717
|
+
await subprocess;
|
|
718
|
+
} catch {
|
|
719
|
+
}
|
|
720
|
+
};
|
|
714
721
|
var combineAsyncIterators = async function* (...iterators) {
|
|
715
722
|
try {
|
|
716
723
|
let promises = [];
|