Skip to content

Commit c418e22

Browse files
taeyzzzThanetpon Kultontikorn
andauthored
Fix script (#5)
* fix script * fix script --------- Co-authored-by: Thanetpon Kultontikorn <[email protected]>
1 parent a49d9c8 commit c418e22

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "agoda-graphql-csharp-generator",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"main": "index.js",
55
"files": [
66
"dist"

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-
`yarn gql-gen --schema '${schemaUrl}' --template agoda-graphql-codegen-csharp --out ${folder} ${filePath}`,
50+
`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)