We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92e250e commit c8511bcCopy full SHA for c8511bc
git/gitStageAllItemsAPI.js
@@ -17,12 +17,16 @@ const gitStageAllItemsApi = async (repoId) => {
17
.then(({ stdout, stderr }) => {
18
if (!stderr) {
19
return "ALL_STAGED";
20
+ } else if (stderr.match(/warning: LF will be replaced by CRLF/gi)) {
21
+ console.log("WARN:", stderr);
22
+ return "ALL_STAGED";
23
} else {
- console.log(stderr);
24
+ console.log("ERROR:", stderr);
25
return "ERR_STAGE_ALL";
26
}
27
})
28
.catch((err) => {
29
+ console.log("ERROR:", err);
30
31
});
32
};
0 commit comments