Skip to content

Commit 251c69c

Browse files
committed
feat: return promise for node usage
1 parent 95e6803 commit 251c69c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ module.exports = function(input, target) {
2929
p.then(() => {
3030
return fs.writeFileSync(target + "/index.html", html);
3131
}).catch(err => console.error(err));
32+
return p;
3233
};

0 commit comments

Comments
 (0)