We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780d472 commit ff57221Copy full SHA for ff57221
src/commands/showfile.ts
@@ -38,10 +38,10 @@ export default class ShowFile extends Command {
38
}
39
40
private getFileLinesToShow(flags: any) {
41
- if(flags.num && flags.num>0) // if value available and valid
42
- return flags.num;
+ if (flags.num && flags.num > 0) // if value available and valid
+ return flags.num
43
else
44
- return ShowFile.DEFAULT_COUNT;
+ return ShowFile.DEFAULT_COUNT
45
46
// tslint:disable-next-line:no-unused
47
private checkParameters(flags: unknown, args: { [p: string]: any }) {
0 commit comments