Skip to content

Commit

Permalink
Remove some leftover comments
Browse files Browse the repository at this point in the history
  • Loading branch information
calvellido committed Nov 16, 2017
1 parent f909e66 commit 9f70e17
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions build-scripts/fetch-proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const argv = yargs
.version(package.version).alias('version', 'v')
.options({
source: {
alias: ['s'],
alias: 's',
description: '<proto-file-source-url>',
requiresArg: true,
default: originProtoPath,
Expand All @@ -33,8 +33,7 @@ const argv = yargs
const urlObject = new URL(arg);
return urlObject;
} catch (e) {
// throw new Error(`Error: ${arg} is not a valid URL path`);
throw e;
throw new Error(`Error: ${arg} is not a valid URL path`);
}
}
},
Expand Down Expand Up @@ -90,7 +89,6 @@ function fetchProto () {
})
.catch((error) => {
spinner.fail(`Error connecting to: ${error.config.url}`);
// shell.echo(`Error connecting to: ${error.config.url}`);
if (error.response) {
// The request was made and the server responded with a status code out of range 2xx
shell.echo(`${error.response.status} - ${error.response.statusText}`);
Expand Down
2 changes: 1 addition & 1 deletion build-scripts/gen-proto-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const argv = yargs
.version(package.version).alias('version', 'v')
.options({
input: {
alias: ['i'],
alias: 'i',
description: '<input-proto-path>',
requiresArg: true,
default: originProtoPath,
Expand Down
1 change: 0 additions & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const environment = {
production: true,
// metricsEndpoint: 'ws://localhost:8080/metrics'
metricsEndpoint: 'ws://localhost:3000',
microservicesEndpoint: '//localhost:8080/microservices'
};
1 change: 0 additions & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

export const environment = {
production: false,
// metricsEndpoint: 'ws://localhost:8080/metrics'
metricsEndpoint: 'ws://localhost:3000',
microservicesEndpoint: '//localhost:8080/microservices'
};

0 comments on commit 9f70e17

Please sign in to comment.