Skip to content

Commit ec8c009

Browse files
committed
adding params in git commit
1 parent 2121023 commit ec8c009

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/change.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ if (exist('./projects')) {
5151
try {
5252
repos.forEach((repo) => {
5353
// 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+
// }
5659

5760
if (exist(repo)) {
5861
files.forEach((file) => {

scripts/git-commit.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const shell = require('shelljs');
1010
const commandExists = require('command-exists');
1111
const repos = require('../repos.json');
1212

13-
const commitMessage = 'refactofing!';
13+
const args = process.argv.slice(2);
14+
const commitMessage = args[0] || 'refactofing!';
1415

1516
commandExists('git')
1617
.then(() => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy