MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / reportLineError

Function reportLineError

scripts/format-changelog.js:16–19  ·  view source on GitHub ↗
(line, message)

Source from the content-addressed store, hash-verified

14}
15
16function reportLineError(line, message) {
17 console.error(`Error on line ${line.index + 1}: ${message}`);
18 process.exit(-1);
19}
20
21function consumeLine(ctx) {
22 if (ctx.lineIndex >= ctx.lines.length) {

Callers 2

readVersionHeaderFunction · 0.85
readVersionEntryFunction · 0.85

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected