Skip to content

Commit

Permalink
Updating to support callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Stevens committed Jan 28, 2018
1 parent aa07920 commit 85b1fe3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@holidayextras/static-site-generator",
"version": "7.0.1",
"version": "7.0.2",
"description": "Holiday Extras Static Site Generator in metalsmith / react",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const MetalSmithLoader = (opts) => {

metalSmith.build(function (err) {
if (err) throw err
if (opts.callback) opts.callback()
})
}

Expand Down

0 comments on commit 85b1fe3

Please sign in to comment.