Skip to content

Commit

Permalink
Preserve the case of input repository (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
LazarusX authored Aug 13, 2018
1 parent 6f25954 commit 8e98bb1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module.exports = class extends Generator {
}
]).then((answers) => {
this.name = (this.options.name || answers.name).trim();
this.repository = (this.options.repository || answers.repository).trim().toLowerCase();
this.repository = (this.options.repository || answers.repository).trim();
});
}

Expand Down
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": "generator-azure-iot-edge-module",
"version": "1.1.0",
"version": "1.2.0-rc",
"description": "Yeoman generator for Azure IoT Edge Node.js module",
"files": [
"app"
Expand Down
2 changes: 1 addition & 1 deletion test/assets/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema-version": "0.0.1",
"description": "",
"image": {
"repository": "localhost:5555/testmodule",
"repository": "localhost:5555/TestModule",
"tag": {
"version": "0.0.1",
"platforms": {
Expand Down

0 comments on commit 8e98bb1

Please sign in to comment.