diff options
Diffstat (limited to 'build/build-pages.js')
-rw-r--r-- | build/build-pages.js | 6 |
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) |