Skip to content

Commit

Permalink
VER 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ForkKILLET committed Jul 19, 2021
1 parent cb9e94b commit 80866f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
12 changes: 7 additions & 5 deletions check.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,12 @@ module.exports = {
};

if (process.env.INPUT_MSGS) {
var A = require("../.gitmsgrc.js");

var M = JSON.parse(process.env.INPUT_MSGS);
var F = I(M, A);
process.exit(F);
//const A = require("../.gitmsgrc.js")
//const M = JSON.parse(process.env.INPUT_MSGS)
//const F = I(M, A)
//process.exit(F)
child_process.exec("ls", function (_, d) {
return console.log(d);
});
}

9 changes: 5 additions & 4 deletions check.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,10 @@ const I = (msgs, args) => {
module.exports = { S, C, I }

if (process.env.INPUT_MSGS) {
const A = require("../.gitmsgrc.js")
const M = JSON.parse(process.env.INPUT_MSGS)
const F = I(M, A)
process.exit(F)
//const A = require("../.gitmsgrc.js")
//const M = JSON.parse(process.env.INPUT_MSGS)
//const F = I(M, A)
//process.exit(F)
child_process.exec("ls",(_,d)=>console.log(d))
}

0 comments on commit 80866f8

Please sign in to comment.