Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ cleanNewLines
Function
cleanNewLines
packages/compiler-cli/test/ngtsc/debug_transform_spec.ts:33–35 ·
view source on GitHub ↗
(contents: string)
Source
from the content-addressed store, hash-verified
31
};
32
33
function
cleanNewLines(contents: string) {
34
return
contents.replace(/\s*\n\s*/g,
' '
);
35
}
36
37
runInEachFileSystem(() => {
38
describe(
'Debug Info Typescript tranformation'
, () => {
Callers
1
debug_transform_spec.ts
File · 0.70
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected