New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to specify whether to install Node.js template #329
Conversation
@@ -328,10 +331,10 @@ export class EdgeManager { | |||
|
|||
const needUpdateRegistry: boolean = template !== Constants.STREAM_ANALYTICS; | |||
|
|||
const {usernameEnv, passwordEnv} = await this.addModuleToDeploymentTemplate(templateJson, templateFile, envFilePath, moduleInfo, needUpdateRegistry, isNewSolution); | |||
const { usernameEnv, passwordEnv } = await this.addModuleToDeploymentTemplate(templateJson, templateFile, envFilePath, moduleInfo, needUpdateRegistry, isNewSolution); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for all the white space in brackets,we should define a rule in tslint.
@@ -778,7 +796,7 @@ export class EdgeManager { | |||
if (!templatePick) { | |||
throw new UserCancelledError(); | |||
} | |||
TelemetryClient.sendEvent( `${Constants.addModuleEvent}.selectModuleTemplate`, { | |||
TelemetryClient.sendEvent(`${Constants.addModuleEvent}.selectModuleTemplate`, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for this space, we could add config "space-within-parens": true into tslint.json
ExposedPorts: {"5678/tcp": {}}, | ||
HostConfig: {PortBindings: {"5678/tcp": [{HostPort: "5678"}]}}}; | ||
ExposedPorts: { "5678/tcp": {} }, | ||
HostConfig: { PortBindings: { "5678/tcp": [{ HostPort: "5678" }] } }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I will prefer no space between curly braces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the result of a "Format code" command...
No description provided.