Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /