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.
1 parent 25237b6 commit 2c1da76Copy full SHA for 2c1da76
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
console.log(jsonToGo(json).go)
495
} else {
0 commit comments