Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
21
const
MAX_DIAGNOSTICS_PER_FILE = 20
22
23
function
normalizeLineEndings(text: string): string {
24
return
text.replaceAll(
"\r\n"
,
"\n"
)
25
}
26
27
export
const
EditTool = Tool.define(
"edit"
, {
28
description: DESCRIPTION,
Callers
1
execute
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected