Skip to content

Commit

Permalink
Update lib/commands/new.js
Browse files Browse the repository at this point in the history
Co-authored-by: devin ivy <devin@bigroomstudios.com>
  • Loading branch information
zemccartney and devinivy authored May 1, 2020
1 parent 7963992 commit 6a3d9d9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/commands/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ module.exports = async (cwd, dir, ctx) => {
await Helpers.exec('git add package.json README.md', { cwd: dir });
};

// TODO Give credit
// bic'd from here: https://github.com/domenic/sorted-object/blob/master/lib/sorted-object.js
// slightly tweaked and stylized per hapi linting, changed to accept a custom sorting function
// Bic'd and adapted from domenic/sorted-object (WTFPL)
internals.sortObject = (input, fn) => {

return Object.keys(input).sort(fn)
Expand Down

0 comments on commit 6a3d9d9

Please sign in to comment.