Skip to content

Commit 305e49a

Browse files
author
Bryan Cross
committed
Fixing comment text
1 parent 706f9ca commit 305e49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function runQuery(file, token) {
3434
process.exit(1);
3535
}
3636

37-
//If there is a variables section, extract the values and add them to the query JSON object. Otherwise, add and empty object
37+
//If there is a variables section, extract the values and add them to the query JSON object.
3838
queryObj.variables = variablesRegex.test(queryText) ? JSON.parse(queryText.match(variablesRegex)[0].split("variables ")[1]) : {}
3939
//Remove the variables section from the query text, whether it exists or not
4040
queryObj.query = queryText.replace(variablesRegex, '');

0 commit comments

Comments
 (0)