aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/globalMessages.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/globalMessages.ts')
-rw-r--r--server/sonar-web/src/main/js/helpers/globalMessages.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/helpers/globalMessages.ts b/server/sonar-web/src/main/js/helpers/globalMessages.ts
index dc5f2f02ca5..823eb149130 100644
--- a/server/sonar-web/src/main/js/helpers/globalMessages.ts
+++ b/server/sonar-web/src/main/js/helpers/globalMessages.ts
@@ -37,11 +37,11 @@ export function unregisterListener(callback: (message: Message) => void) {
}
function addMessage(text: string, level: MessageLevel) {
- listeners.forEach(listener =>
+ listeners.forEach((listener) =>
listener({
id: uniqueId('global-message-'),
level,
- text
+ text,
})
);
}