Skip to content

Commit b951c81

Browse files
authored
Fix indentation
1 parent 1056d45 commit b951c81

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/utils.common.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ export function tryParseColor(colorString: string | Color, errorMessage: string)
1616
}
1717

1818
export function log(message: string, ...optionalParams: any[]): void {
19-
if ((<any>global).__nslog) {
20-
(<any>global).__nslog(message, ...optionalParams);
21-
}
22-
console.log(message, ...optionalParams);
23-
}
19+
const nglog = (<any>global).__nslog;
20+
if (nglog) {
21+
nglog(message, ...optionalParams);
22+
}
23+
console.log(message, ...optionalParams);
24+
}

0 commit comments

Comments
 (0)