Skip to content

Commit

Permalink
fix(attributes): updated the plugin attributes to pull from the packa…
Browse files Browse the repository at this point in the history
…ge.json

closes #15
  • Loading branch information
travi committed Jan 27, 2017
1 parent d2baf6f commit 0d02205
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ export function register(server, options, next) {
}

register.attributes = {
name: 'html-request-router'
pkg: require('../package.json')
};
2 changes: 1 addition & 1 deletion test/unit/plugin-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ suite('plugin', () => {

test('that the plugin is defined', () => {
assert.deepEqual(router.register.attributes, {
name: 'html-request-router'
pkg: require('../../package.json')
});
});

Expand Down

0 comments on commit 0d02205

Please sign in to comment.