From 4dd55a382c70f5b15bf3c2c50bd80d6d1b83d0f5 Mon Sep 17 00:00:00 2001 From: Brad Nelson Date: Fri, 21 Oct 2022 15:02:12 -0700 Subject: [PATCH] Fix EAGAIN issue. --- tools/check_web_sanity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_web_sanity.js b/tools/check_web_sanity.js index 79cf959..77838dd 100755 --- a/tools/check_web_sanity.js +++ b/tools/check_web_sanity.js @@ -16,7 +16,7 @@ var fs = require('fs'); var process = require('process'); -var source = fs.readFileSync(process.stdin.fd).toString(); +var source = fs.readFileSync('/dev/stdin').toString(); if (source.match(/Invalid/)) { console.log('BAD ASM.JS');