mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
feat(executed-at-ms): displaying a float to 2 decimal places
e.g. 58.399999998509884ms -> 58.39ms
This commit is contained in:
@ -111,7 +111,7 @@ export const startPlugin = async <Config extends PluginConfig>(
|
||||
t('common.console.plugins.executed-at-ms', {
|
||||
pluginName: id,
|
||||
contextName: options.ctx,
|
||||
ms: performance.now() - start,
|
||||
ms: (performance.now() - start).toFixed(2),
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user