Skip to content

Commit 9c105c6

Browse files
authored
Merge pull request #37 from zhavir/implement-personal-portfolio
🚀 deploy: fix
2 parents f41d3be + c362587 commit 9c105c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

release.config.cjs

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/* eslint-disable no-template-curly-in-string */
22

3-
const dateFormat = import('dateformat');
4-
const promisify = import('util');
5-
const readFile = import('fs');
6-
const readFileAsync = promisify(readFile);
3+
const dateformat = import('dateformat');
4+
const util = import('util');
5+
const fs = import('fs');
6+
const readFileAsync = util.promisify(fs.readFile);
77

88
// the *.hbs template and partials should be passed as strings of contents
99
const template = readFileAsync('./build/default-template.hbs');
@@ -129,7 +129,7 @@ module.exports = {
129129
partials: { commitTemplate },
130130
helpers: {
131131
datetime(format = 'UTC:yyyy-mm-dd') {
132-
return dateFormat(new Date(), format);
132+
return dateformat.dateFormat(new Date(), format);
133133
},
134134
},
135135
issueResolution: {

0 commit comments

Comments
 (0)