Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

[Assignment #2] Convert to a plugin #54

Closed
wants to merge 2 commits into from
Closed

[Assignment #2] Convert to a plugin #54

wants to merge 2 commits into from

Conversation

pruett
Copy link

@pruett pruett commented Mar 19, 2015

Reference issue #43

return reply({ version: Package.version });
}
}
Hoek.assert(!err, err);
});

server.start(function (err) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you are starting your server without being sure the plugin is fully registered, take a look at it

@hueniverse hueniverse added this to the 0.0.2 milestone Mar 23, 2015
return next();
};

exports.register.attributes = { name: 'versionRoute' };

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaner to put object on multiple lines.

@hueniverse
Copy link

See general comments on issue.

@hueniverse hueniverse closed this Mar 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants