Skip to content

Commit 0963e20

Browse files
taeyzzzThanetpon Kultontikorn
andauthored
change to npx for execute (#6)
Co-authored-by: Thanetpon Kultontikorn <[email protected]>
1 parent c418e22 commit 0963e20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const generateGraphql = async (schemaUrl: string, filePath: string): Promise<voi
4747

4848
await new Promise<void>((resolve, reject) => {
4949
exec(
50-
`gql-gen --schema '${schemaUrl}' --template agoda-graphql-codegen-csharp --out ${folder} ${filePath}`,
50+
`npx gql-gen --schema '${schemaUrl}' --template agoda-graphql-codegen-csharp --out ${folder} ${filePath}`,
5151
(error, stdout, stderr) => {
5252
if (error) {
5353
console.error(`Error: ${error.message}`);

0 commit comments

Comments
 (0)