Skip to content

Commit

Permalink
fix: sort plugins if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 30, 2018
1 parent 38e15dd commit 8d8fe71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ class App extends Generator {
]
}

if (this.pjson.dxcli.plugins) this.pjson.dxcli.plugins.sort()

if (this.ts) {
this.fs.copyTpl(this.templatePath('tslint.json'), this.destinationPath('tslint.json'), this)
this.fs.copyTpl(this.templatePath('tsconfig.json'), this.destinationPath('tsconfig.json'), this)
Expand Down

0 comments on commit 8d8fe71

Please sign in to comment.