Skip to content

Commit

Permalink
ignore generated typescript file
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirotw committed Apr 28, 2022
1 parent 892fd59 commit c9b5696
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
"prettier/prettier": "error"
},

"ignorePatterns": ["dist", "node_modules"]
"ignorePatterns": ["dist", "node_modules", "src/api/cow-subgraph/graphql.ts"]
}
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
dist/
src/api/cow-subgraph/graphql.ts
4 changes: 1 addition & 3 deletions src/api/cow-subgraph/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ export class CowSubgraphApi {
} catch (error) {
log.error(error)
const baseUrl = await this.getBaseUrl()
throw new CowError(
`Error running query: ${query}. Variables: ${JSON.stringify(variables)}. API: ${baseUrl}`
)
throw new CowError(`Error running query: ${query}. Variables: ${JSON.stringify(variables)}. API: ${baseUrl}`)
}
}
}

0 comments on commit c9b5696

Please sign in to comment.