MCPcopy Create free account
hub / github.com/arctic-cli/interface / normalizeLineEndings

Function normalizeLineEndings

packages/arctic/src/tool/edit.ts:23–25  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

21const MAX_DIAGNOSTICS_PER_FILE = 20
22
23function normalizeLineEndings(text: string): string {
24 return text.replaceAll("\r\n", "\n")
25}
26
27export const EditTool = Tool.define("edit", {
28 description: DESCRIPTION,

Callers 1

executeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected