aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-17 22:06:35 +0100
committercodecalm <codecalm@gmail.com>2020-03-17 22:06:35 +0100
commit62276c39c73c5b575da9c6fa3d4dbcc00ab388b6 (patch)
treea7d022e4559cbd15e3d27c08e9cdc8302cd3ddec /gulpfile.js
parenticon tags (diff)
downloadtabler-icons-62276c39c73c5b575da9c6fa3d4dbcc00ab388b6.tar.xz
gulp optimize fix, missed files
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/gulpfile.js b/gulpfile.js
index b0ccf8e..8ddd3ba 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -191,7 +191,6 @@ gulp.task('optimize', function (cb) {
.replace(/\s?\/>/g, ' />')
.replace(/\n\s*<(line|circle|path|polyline)/g, "\n <$1")
.replace(/polyline points="([0-9.]+)\s([0-9.]+)\s([0-9.]+)\s([0-9.]+)"/g, 'line x1="$1" y1="$2" x2="$3" y2="$4"')
- .replace(/\s+"/g, '"')
.replace(/\n\n+/g, "\n");
fs.writeFileSync(file, svgFileContent);