mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
Added log about result
This commit is contained in:
1 parent
2e74e2fe62
commit
4d6271d255
1 file changed
+2
@@ -15,6 +15,8 @@ graphql(schema, introspectionQuery)
|
||||
|
||||
// Write the introspection result to the filesystem.
|
||||
fs.writeFileSync(introspectionFilename, introspectionResult, 'utf8');
|
||||
|
||||
console.log(`Outputted result of introspectionQuery to ${introspectionFilename}`);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
|
||||
Reference in new issue
Block a user