Space before {
This commit is contained in:
parent
8fce29caf7
commit
b0ab8cd77f
1 changed files with 2 additions and 2 deletions
|
@ -120,7 +120,7 @@ export class LogItem implements ILogItem {
|
|||
return item.run(callback);
|
||||
}
|
||||
|
||||
get duration(): number | undefined{
|
||||
get duration(): number | undefined {
|
||||
if (this.end) {
|
||||
return this.end - this.start;
|
||||
} else {
|
||||
|
@ -128,7 +128,7 @@ export class LogItem implements ILogItem {
|
|||
}
|
||||
}
|
||||
|
||||
durationWithoutType(type: string): number | undefined{
|
||||
durationWithoutType(type: string): number | undefined {
|
||||
const durationOfType = this.durationOfType(type);
|
||||
if (this.duration && durationOfType) {
|
||||
return this.duration - durationOfType;
|
||||
|
|
Reference in a new issue