From 024047697e52af83b7ca4c314bfbb54a7d3de0ac Mon Sep 17 00:00:00 2001 From: banasa44 Date: Wed, 24 Apr 2024 10:53:04 +0200 Subject: [PATCH] fix: fix some comments in generate-intros-partial script --- .../subgraph/scripts/generate-introspection-partial-json.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/subgraph/scripts/generate-introspection-partial-json.sh b/packages/subgraph/scripts/generate-introspection-partial-json.sh index 3c580b2ea..d3f6ea3d0 100755 --- a/packages/subgraph/scripts/generate-introspection-partial-json.sh +++ b/packages/subgraph/scripts/generate-introspection-partial-json.sh @@ -3,7 +3,7 @@ # Copy schema.graphql to a temporary file cp schema.graphql schema.tmp.graphql -# Add lines at the beginning of the file +# Add lines at the end of the file cat <> schema.tmp.graphql " Byte array, represented as a hexadecimal string. Commonly used for Ethereum hashes and addresses. " scalar Bytes @@ -21,7 +21,7 @@ graphql-codegen # Navigate to the docs directory cd docs || exit -# Run prettier on schema-introspection.json +# Run prettier on schema-introspection-partial.json prettier schema-introspection-partial.json --write # Remove the temporary file