aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-04-07 20:26:06 +0200
committercodecalm <codecalm@gmail.com>2020-04-07 20:26:06 +0200
commit7ac7ca0c2b7df07c6e02749440ab2ebc196766dd (patch)
tree6380bb49d3f1c90ff97fa098acf30690cfa6e75f /gulpfile.js
parentcurrency icons (diff)
downloadtabler-icons-7ac7ca0c2b7df07c6e02749440ab2ebc196766dd.tar.xz
currency yen
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 967de80b..9a5b6e6d 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -414,7 +414,9 @@ gulp.task('optimize', function (cb) {
.replace(/a\s?([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s?([0-1])\s?([0-1])\s?(-?[0-9.]+)\s?(-?[0-9.]+)/g, 'a$1 $2 $3 $4 $5 $6 $7')
.replace(/\n\n+/g, "\n");
- fs.writeFileSync(file, svgFileContent);
+ if(svgFile.toString() !== svgFileContent) {
+ fs.writeFileSync(file, svgFileContent);
+ }
});
cb();