Skip to content

Commit

Permalink
Fix failing prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Aug 11, 2023
1 parent bca4960 commit b447c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { basename } from 'node:path';
import { basename } from 'node:path';
import { parseArgs } from 'node:util';

import * as chalk from 'chalk';
Expand Down Expand Up @@ -168,4 +168,3 @@ export function parseCLI(): Options {
process.exit(1);
}
}

5 changes: 1 addition & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,7 @@ if (extendURL) {
} else {
if (!userSDL) {
userSDL = new Source(
fs.readFileSync(
path.join(__dirname, 'default-schema.graphql'),
'utf-8',
),
fs.readFileSync(path.join(__dirname, 'default-schema.graphql'), 'utf-8'),
fileName,
);
}
Expand Down

0 comments on commit b447c4c

Please sign in to comment.