Skip to content

Commit cd7b98d

Browse files
committed
Use file system provider to read includes
Signed-off-by: worksofliam <[email protected]>
1 parent 23dd88f commit cd7b98d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/languages/rpgle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function setupParser(targets: Targets): Parser {
5353
}
5454

5555
} else {
56-
const content = readFileSync(file, { encoding: `utf-8` });
56+
const content = await targets.rfs.readFile(file);
5757
includeFileCache[file] = content;
5858

5959
return {

0 commit comments

Comments
 (0)