quick lint

This commit is contained in:
2023-12-21 22:02:54 +01:00
parent 816961a2b7
commit 1fe0310e21
3 changed files with 28 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ type Workflows = { [key: string]: [WorkflowRules, string] };
function parseInput(filePath: string): Workflows {
const lines = fs.readFileSync(filePath, 'utf-8').split('\n').filter(line => line);
let workflows: Workflows = {};
const workflows: Workflows = {};
let currentWorkflow: string[] = [];
for (const line of lines) {