File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export const getOrFetchGmodFile = async (path: PathLike) => {
134134 const query = gql `{
135135 project(fullPath:"${ url . match ( / \. c o m \/ ( .+ ?) \/ \- / ) ?. [ 1 ] } ") {
136136 repository {
137- blobs(paths:"${ path } "){
137+ blobs(paths:"${ fpath } "){
138138 nodes{rawTextBlob}
139139 }
140140 }
@@ -147,9 +147,10 @@ export const getOrFetchGmodFile = async (path: PathLike) => {
147147 const request : { data : GithubResponse } = await github . octokit . graphql (
148148 `query text($owner: String!, $repo: String!) {
149149 repository(owner: $owner, name: $repo) {
150- object(expression: "${ branch ?? "HEAD" } :${ path } ") {
151- ... on Blob {
152- text
150+ object(expression: "${ branch ?? "HEAD" } :${ fpath } ") {
151+ ... on Blob {
152+ text
153+ }
153154 }
154155 }
155156 }` ,
You can’t perform that action at this time.
0 commit comments