diff --git a/src/index.ts b/src/index.ts index 2f9a572..d5592a7 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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: