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

Commit

Permalink
Mise a jour de @udes/shelljs-nodecli (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminrancourt authored Dec 1, 2017
1 parent 0bdc206 commit c718415
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "udes-cli",
"version": "0.4.6",
"version": "0.4.7",
"description": "CLI tools used at UdeS",
"dependencies": {
"@udes/bower-locker": "^1.0.6",
Expand Down
2 changes: 1 addition & 1 deletion src/lint/Format.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Format extends Lintable {
super({
html: () => `eslint ${this.args.path} --ext html --ignore-path .gitignore --fix`,
js: () => `eslint ${this.args.path} --ext html,js,json --ignore-path .gitignore --fix`,
polymer: 'polymer-cli lint --fix',
polymer: 'polymer lint --fix',
}, args)
}
}
2 changes: 1 addition & 1 deletion src/lint/Lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default class Lint extends Lintable {
super({
html: () => `htmlhint ${this.args.path}/*/.html --config .htmlhintrc.json`,
js: () => `eslint ${this.args.path} --ext html,js,json --ignore-path .gitignore`,
polymer: 'polymer-cli lint',
polymer: 'polymer lint',
}, args)
}
}
2 changes: 1 addition & 1 deletion src/lint/test/FormatTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Format', () => {
const lint = new Format({ path: '.' })
expect(lint.commands.html()).to.be.equal('eslint . --ext html --ignore-path .gitignore --fix')
expect(lint.commands.js()).to.be.equal('eslint . --ext html,js,json --ignore-path .gitignore --fix')
expect(lint.commands.polymer).to.be.equal('polymer-cli lint --fix')
expect(lint.commands.polymer).to.be.equal('polymer lint --fix')
})
})
})
2 changes: 1 addition & 1 deletion src/lint/test/LintTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Lint', () => {
const lint = new Lint({ path: '.' })
expect(lint.commands.html()).to.be.equal('htmlhint ./*/.html --config .htmlhintrc.json')
expect(lint.commands.js()).to.be.equal('eslint . --ext html,js,json --ignore-path .gitignore')
expect(lint.commands.polymer).to.be.equal('polymer-cli lint')
expect(lint.commands.polymer).to.be.equal('polymer lint')
})
})
})
2 changes: 1 addition & 1 deletion src/polymer/PolymerBuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default class PolymerBuild {
*/
run = () => {
if (this.args.build) {
ShellJSNodeCLI.exec('polymer-cli build')
ShellJSNodeCLI.exec('polymer build')
}

try {
Expand Down

0 comments on commit c718415

Please sign in to comment.