Skip to content

Commit

Permalink
fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lgandecki committed Aug 21, 2023
1 parent 663baa8 commit 28d27d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/init.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable @typescript-eslint/no-use-before-define */
import * as fs from 'node:fs';
import * as path from 'node:path';
import { Listr, ListrContext, ListrRendererFactory, ListrTaskWrapper } from 'listr2';
import { ListrContext, ListrRendererFactory, ListrTaskWrapper } from 'listr2';
import { Command, Flags } from '@oclif/core';
import configDebug from 'debug';
import { findProjectMainPath } from '../generate/helpers/findProjectMainPath';
Expand Down
2 changes: 1 addition & 1 deletion src/generate/templates/printSchema.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { print } from 'graphql';
import path from 'path';

Check failure on line 2 in src/generate/templates/printSchema.ts

View workflow job for this annotation

GitHub Actions / test

Prefer `node:path` over `path`
import fs from 'fs';
import fs from 'node:fs';
import schema from './combineSchemas';

const printed = print(schema);
Expand Down

0 comments on commit 28d27d5

Please sign in to comment.