Skip to content

Commit

Permalink
try using /dev/stdin
Browse files Browse the repository at this point in the history
  • Loading branch information
jcapote-lyft committed Aug 3, 2023
1 parent c15eacd commit 4aab667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function replaceExtension(filename: string, extension: string = ".ts"): string {


const request = plugin.CodeGeneratorRequest.deserialize(
new Uint8Array(fs.readFileSync(process.stdin.fd)),
new Uint8Array(fs.readFileSync('/dev/stdin')),
);
const response = new plugin.CodeGeneratorResponse({
supported_features:
Expand Down

0 comments on commit 4aab667

Please sign in to comment.