We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8a0826 + 2c1da76 commit e6978afCopy full SHA for e6978af
json-to-go.js
@@ -489,7 +489,7 @@ if (typeof module != 'undefined') {
489
process.stdout.write(jsonToGo(json).go)
490
})
491
} else if (process.argv.length === 3) {
492
- const fs = require('node:fs');
+ const fs = require('fs');
493
const json = fs.readFileSync(process.argv[2], 'utf8');
494
495
} else {
0 commit comments