Skip to content

Commit

Permalink
standardise plugin regerstration
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanHood committed Jan 9, 2018
1 parent dc06dbe commit bac2c22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
machine:
node:
version: 8.9.3
version: 8.9.4
dependencies:
pre:
- npm install git+ssh://[email protected]:holidayextras/deployment-helpers.git
Expand Down
3 changes: 1 addition & 2 deletions lib/pluginTransformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ const register = async(server) => {
}

const pkg = require('../package.json')
const name = pkg['name']
const version = pkg['version']
const {version, name} = pkg

exports.plugin = {
register,
Expand Down

0 comments on commit bac2c22

Please sign in to comment.