Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
execute(schemaFile, output) {
const transformer = new graphql_transform_1.default({
transformers: [
new graphql_appsync_transformer_1.default(),
new graphql_dynamodb_transformer_1.default(),
new graphql_auth_transformer_1.default()
]
});
const cfdoc = transformer.transform(schemaFile.readSync());
output.writeSync(JSON.stringify(cfdoc, null, 4));
}
};