MCPcopy
hub / github.com/bombshell-dev/clack / removeTrailingDots

Function removeTrailingDots

packages/prompts/src/spinner.ts:119–121  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

117 };
118
119 const removeTrailingDots = (msg: string): string => {
120 return msg.replace(/\.+$/, '');
121 };
122
123 const formatTimer = (origin: number): string => {
124 const duration = (performance.now() - origin) / 1000;

Callers 2

startFunction · 0.85
messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected