diff options
author | codecalm <codecalm@gmail.com> | 2022-07-25 11:16:09 +0200 |
---|---|---|
committer | codecalm <codecalm@gmail.com> | 2022-07-25 11:16:09 +0200 |
commit | a479714d399acfce9587176654c80385b06abc80 (patch) | |
tree | ac55f81f58ace9a7d469e77aa1d014d4f1569f80 /gulpfile.js | |
parent | update icons tags (diff) | |
download | tabler-icons-a479714d399acfce9587176654c80385b06abc80.tar.xz |
update icons tags
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js index cd94823e..6acf6439 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -740,8 +740,7 @@ gulp.task('import-categories', function(cb) { if(categoryOriginal) { console.log('categoryOriginal', categoryOriginal[1]) - - let data = fs.readFileSync(fileOriginal).toString() + let data = fs.readFileSync(file).toString() data = data.replace(/(---[\s\S]+?---)/, function(m, headerContent) { headerContent = headerContent.replace(/category: .*\n/, '') @@ -750,7 +749,7 @@ gulp.task('import-categories', function(cb) { return headerContent }) - fs.writeFileSync(fileOriginal, data) + fs.writeFileSync(file, data) } } }) |