aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-27 21:55:07 +0100
committercodecalm <codecalm@gmail.com>2020-03-27 21:55:07 +0100
commit97462703ac7c8655ca64c92789b5fb5bd97cff25 (patch)
tree2d690e8eaba4f90b9afd1f3ac8aecebd888e0894
parentchangelog image fix (diff)
downloadtabler-icons-97462703ac7c8655ca64c92789b5fb5bd97cff25.tar.xz
changelog image fix
-rw-r--r--gulpfile.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 32041c49..967de80b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -426,15 +426,15 @@ gulp.task('changelog-commit', function (cb) {
cp.exec('git status', function (err, ret) {
let newIcons = [], modifiedIcons = [], renamedIcons = [];
- ret.replace(/new file:\s+src\/_icons\/([a-z1-9-]+)\.svg/g, function (m, fileName) {
+ ret.replace(/new file:\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) {
newIcons.push(fileName);
});
- ret.replace(/modified:\s+src\/_icons\/([a-z1-9-]+)\.svg/g, function (m, fileName) {
+ ret.replace(/modified:\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) {
modifiedIcons.push(fileName);
});
- ret.replace(/renamed:\s+src\/_icons\/([a-z1-9-]+).svg -> src\/_icons\/([a-z1-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) {
+ ret.replace(/renamed:\s+src\/_icons\/([a-z0-9-]+).svg -> src\/_icons\/([a-z0-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) {
renamedIcons.push([fileNameBefore, fileNameAfter]);
});
@@ -456,15 +456,15 @@ gulp.task('changelog', function (cb) {
let newIcons = [], modifiedIcons = [], renamedIcons = [];
- ret.replace(/A\s+src\/_icons\/([a-z1-9-]+)\.svg/g, function (m, fileName) {
+ ret.replace(/A\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) {
newIcons.push(fileName);
});
- ret.replace(/M\s+src\/_icons\/([a-z1-9-]+)\.svg/g, function (m, fileName) {
+ ret.replace(/M\s+src\/_icons\/([a-z0-9-]+)\.svg/g, function (m, fileName) {
modifiedIcons.push(fileName);
});
- ret.replace(/R[0-9]+\s+src\/_icons\/([a-z1-9-]+)\.svg\s+src\/_icons\/([a-z1-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) {
+ ret.replace(/R[0-9]+\s+src\/_icons\/([a-z0-9-]+)\.svg\s+src\/_icons\/([a-z0-9-]+).svg/g, function (m, fileNameBefore, fileNameAfter) {
renamedIcons.push([fileNameBefore, fileNameAfter]);
});