forked from mystiq/hydrogen-web
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);
|
return item.run(callback);
|
||||||
}
|
}
|
||||||
|
|
||||||
get duration(): number | undefined{
|
get duration(): number | undefined {
|
||||||
if (this.end) {
|
if (this.end) {
|
||||||
return this.end - this.start;
|
return this.end - this.start;
|
||||||
} else {
|
} 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);
|
const durationOfType = this.durationOfType(type);
|
||||||
if (this.duration && durationOfType) {
|
if (this.duration && durationOfType) {
|
||||||
return this.duration - durationOfType;
|
return this.duration - durationOfType;
|
||||||
|
|
Loading…
Reference in a new issue