-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added debug configuration for vscode #1
Conversation
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.
Didn't try it out, but looks good
src/lib/cli/run.command.ts
Outdated
@@ -14,10 +14,11 @@ export class RunCommand implements CliCommand { | |||
include: ['**/*.spec.ts'] | |||
}; | |||
|
|||
constructor(private logger: Logger, private _configFile: string = 'testy.json') { } | |||
constructor(private logger: Logger, private _configFile: string = 'testy.json', private _tsConfigFile = 'tsconfig.json') { } |
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.
Any reason in particular for prefixing these two with underscore? (and not logger)
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.
They are prefixed with underscores because they have public getters, whereas the logger is purely private. The public getters are currently only used for testing purposes though, which is not ideal IMO.
No description provided.