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 dc85679

Browse files
committed
new script changes
1 parent e61913f commit dc85679

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

‎scripts/change.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ const files = [
3535
to: '.github/contributing.md',
3636
},
3737
{
38-
template: 'code-of-conduct',
39-
to: '.github/code-of-conduct.md',
38+
template: 'issue-template',
39+
to: '.github/issue-template.md',
4040
},
4141
{
4242
template: 'pull-request-template',
@@ -59,19 +59,16 @@ try {
5959
const filename = `${repo}/${file.to}`;
6060
const data = bufferFile(file.template);
6161

62-
if (!exist(filename)) {
63-
fs.writeFile(filename, data, 'utf8', (err) => {
64-
if (err) {
65-
console.log(err);
66-
return;
67-
}
68-
69-
console.log('Done!');
70-
});
71-
}
62+
fs.writeFile(filename, data, 'utf8', (err) => {
63+
if (err) {
64+
console.log(err);
65+
return;
66+
}
67+
});
7268
});
7369
}
7470
});
71+
console.log(chalk.green('Done!'));
7572
} catch (_) {
7673
console.log(chalk.red('Something went wrong cloning the repos.'));
7774
}

‎templates/readme.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
We are accepting all pull requests. [Read More](https://github.com/AllAlgorithms/algorithms/issues/40)
2+
13
<div align="center" id="top">
24
<br>
35
<br>

0 commit comments

Comments
(0)

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