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 d3e9189 + 137e847 commit 92fe8d2Copy full SHA for 92fe8d2
src/tools/print-schema/src/index.js
@@ -37,7 +37,7 @@ export async function executeTool() {
37
process.exit(0);
38
}
39
40
- var body = await fs.readFileAsync(argDict.file);
+ var body = await fs.readFileAsync(argDict.file, 'utf8');
41
var result = await getIntrospectionResult(body, argDict.query);
42
var out = await JSON.stringify(result, null, 2);
43
console.log(out);
0 commit comments