summaryrefslogtreecommitdiffstats
path: root/build/build-pages.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-07 12:22:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-04-07 12:22:26 +0000
commitd50fca7dd40f596ebb8b50cd9c4140857f2a0637 (patch)
treea8b40991dcab905c34658c3d860ad7e0a4554c9d /build/build-pages.js
parentReleasing debian version 1.10.3+dfsg-1. (diff)
downloadbootstrap-icons-d50fca7dd40f596ebb8b50cd9c4140857f2a0637.tar.xz
bootstrap-icons-d50fca7dd40f596ebb8b50cd9c4140857f2a0637.zip
Merging upstream version 1.10.4+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--build/build-pages.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/build-pages.js b/build/build-pages.js
index 911524d..6825be4 100644
--- a/build/build-pages.js
+++ b/build/build-pages.js
@@ -2,8 +2,8 @@
'use strict'
-const fs = require('fs').promises
-const path = require('path')
+const fs = require('node:fs').promises
+const path = require('node:path')
const picocolors = require('picocolors')
const iconsDir = path.join(__dirname, '../icons/')
@@ -53,7 +53,7 @@ tags:
const filesLength = files.length
- console.log(picocolors.green('\nSuccess, %s page%s prepared!'), filesLength, filesLength !== 1 ? 's' : '')
+ console.log(picocolors.green('\nSuccess, %s page%s prepared!'), filesLength, filesLength === 1 ? '' : 's')
console.timeEnd(timeLabel)
} catch (error) {
console.error(error)