aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2022-03-22 23:59:22 +0100
committercodecalm <codecalm@gmail.com>2022-03-22 23:59:22 +0100
commita9e01fc2eb9e83c581e9e668dc822a31d0c1f632 (patch)
tree022b34b86b80be22f18a7047acb6eba5c2df2dbf /gulpfile.js
parentRelease 1.57.0 (diff)
downloadtabler-icons-a9e01fc2eb9e83c581e9e668dc822a31d0c1f632.tar.xz
Fix #147
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 2b2c5d0f..5f501dc8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -61,7 +61,7 @@ if (fs.existsSync('./compile-options.json')) {
throw "property excludeIcons is not an array";
}
compileOptions.includeIcons = compileOptions.includeIcons.filter(function (icon) {
- return tempOptions.excludeIcons.indexOf(icon) === -1;
+ return tempOptions.excludeIcons.indexOf(icon) === -1;
});
}
@@ -724,7 +724,7 @@ gulp.task('svg-to-react', gulp.series('clean-react', async function (cb) {
fileName = path.basename(file, '.svg') + '.js',
iconComponentName = componentName(file);
- svgr(svgCode, {
+ await svgr(svgCode, {
icon: false,
svgProps: { width: '{size}', height: '{size}', strokeWidth: '{stroke}', stroke: '{color}' },
template: require('./.build/svgr-template')