diff options
author | codecalm <codecalm@gmail.com> | 2020-04-07 20:26:06 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2020-04-07 20:26:06 +0200 |
commit | 7ac7ca0c2b7df07c6e02749440ab2ebc196766dd (patch) | |
tree | 6380bb49d3f1c90ff97fa098acf30690cfa6e75f /gulpfile.js | |
parent | currency icons (diff) | |
download | tabler-icons-7ac7ca0c2b7df07c6e02749440ab2ebc196766dd.tar.xz |
currency yen
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 4 |
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(); |