Skip to content

Commit 40bf15a

Browse files
committed
fix call to parser after refactor
1 parent da75146 commit 40bf15a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/build/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function parseAndBuild(dir, lines) {
1717
page: -1,
1818
task: -1,
1919
};
20-
return info_1.info(dir, result, lines, index);
20+
return info_1.info({ dir: dir, result: result, lines: lines, index: index });
2121
}
2222
function build(dir, filePath, output) {
2323
if (output === void 0) { output = './coderoad.json'; }

src/build/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function parseAndBuild(dir: string, lines: string[]): CR.Output {
1818
page: -1,
1919
task: -1,
2020
};
21-
return info(dir, result, lines, index);
21+
return info({ dir, result, lines, index });
2222
}
2323

2424
export default function build(dir: string, filePath: string, output = './coderoad.json'): boolean {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy