Skip to main content

Function: splitConfigLines()

function splitConfigLines(source: string): readonly string[];

Defined in: _internal/config-file-scanner.ts:51

Splits any line-delimited config file source into individual lines.

Normalises Windows-style CRLF line endings before splitting so the result is consistent regardless of the operating system that created the file.

Parameters​

source​

string

Returns​

readonly string[]