Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit c501854

Browse files
committed
chore: Fix workflow scripts and README logo
1 parent 4626cfd commit c501854

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<img src="https://get.snaz.in/88HByqU.png" height="50">
1+
<img src="https://get.snaz.in/4jpcPBF.png" height="50">
22

33
A [Dexare](https://github.com/Dexare/Dexare) module for managing [crons](https://npm.im/cron).
44

scripts/changelog.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ arr = futureChangelog
3030
.split('\n')
3131
.map((line) =>
3232
line.startsWith('[Unreleased]')
33-
? `[Unreleased]: https://github.com/Dexare/logger/compare/v${currentVersion}...HEAD`
33+
? `[Unreleased]: https://github.com/Dexare/cron/compare/v${currentVersion}...HEAD`
3434
: line
3535
);
3636

3737
// eslint-disable-next-line no-useless-escape
3838
const lastVersion = ([...arr].reverse()[1].match(/\[([^\][]*)]/) || [])[0].replace(/[[\]']+/g, '');
3939
if (!lastVersion) throw new Error("Can't find last version in changelog.");
4040

41-
const lastLine = `[${currentVersion}]: https://github.com/Dexare/logger/compare/v${lastVersion}...v${currentVersion}`;
41+
const lastLine = `[${currentVersion}]: https://github.com/Dexare/cron/compare/v${lastVersion}...v${currentVersion}`;
4242
if (arr[arr.length - 1] === '') arr[arr.length - 1] = lastLine;
4343
else arr.push(lastLine);
4444
futureChangelog = arr.join('\n');

0 commit comments

Comments
 (0)