File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,11 @@ if (exist('./projects')) {
51
51
try {
52
52
repos . forEach ( ( repo ) => {
53
53
// To create folders, and files individually
54
- // const global = `${repo}/.github`;
55
- // shell.mkdir(global);
54
+ // const global = `${repo}/src/.gitkeep`;
55
+
56
+ // if (!exist(global)) {
57
+ // shell.touch(global);
58
+ // }
56
59
57
60
if ( exist ( repo ) ) {
58
61
files . forEach ( ( file ) => {
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ const shell = require('shelljs');
10
10
const commandExists = require ( 'command-exists' ) ;
11
11
const repos = require ( '../repos.json' ) ;
12
12
13
- const commitMessage = 'refactofing!' ;
13
+ const args = process . argv . slice ( 2 ) ;
14
+ const commitMessage = args [ 0 ] || 'refactofing!' ;
14
15
15
16
commandExists ( 'git' )
16
17
. then ( ( ) => {
You can’t perform that action at this time.
0 commit comments