Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix(logger): styleScope.replace in createLogger function
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 19, 2023
1 parent 17e7ac7 commit d209a9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/logger/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const _sanitizeDomain = (domain: string): string => {
*/
export const createLogger = (domain: string, devMode = DEV_MODE): AlwatrLogger => {
const color = _getNextColor();
const styleScope = _style.scope.replaceAll('{{color}}', color);
const styleScope = _style.scope.replace('{{color}}', color);
domain = _sanitizeDomain(domain);

/**
Expand Down

0 comments on commit d209a9b

Please sign in to comment.