mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +00:00
Add commetn to index.js
I don't have so much experience in writing node-js scripts. It makes sense, to point out where most of the code in index.js is coming from.
This commit is contained in:
parent
a156a1072e
commit
d11ccd183d
8
index.js
8
index.js
@ -1,3 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* Most of this code has been copied from the following GitHub Action
|
||||||
|
* to make it simpler or not necessary to install a lot of
|
||||||
|
* JavaScript packages to execute a shell script.
|
||||||
|
*
|
||||||
|
* https://github.com/ad-m/github-push-action/blob/fe38f0a751bf9149f0270cc1fe20bf9156854365/start.js
|
||||||
|
*/
|
||||||
|
|
||||||
const spawn = require('child_process').spawn;
|
const spawn = require('child_process').spawn;
|
||||||
const path = require("path");
|
const path = require("path");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user