Skip to content

Commit

Permalink
🔖 v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-mb-airweb committed Sep 3, 2020
1 parent 0a8fa30 commit a8ce001
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.3",
"version": "0.0.4",
"name": "@amoutonbrady/graphql-client",
"description": "Minimalistic GraphQL client",
"author": "Alexandre Mouton-Brady <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/graphql-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export function GraphQLClient(url: string, auth = '') {
export const gql = (query: TemplateStringsArray) =>
query
.join(' ')
.replace(/#.+\r?\n|\r/g, "")
.replace(/#.+\r?\n|\r/g, '')
.replace(/\r?\n|\r/g, '')
.replace(/\s{2,}/g, ' ')
.trim();

0 comments on commit a8ce001

Please sign in to comment.