Skip to content

Commit 5b93584

Browse files
author
Bryan Cross
committed
Removing unnecessary argv check
1 parent ed3af14 commit 5b93584

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

graphql/index.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ program
1818

1919
program.parse(process.argv);
2020

21-
if (!process.argv.slice(2).length)
22-
{
23-
console.log("Missing query file and/or token argument");
24-
process.exitCode = 1;
25-
}
26-
2721
function runQuery(file, token) {
2822

2923
try {

0 commit comments

Comments
 (0)