Skip to content

Commit e179910

Browse files
committed
ci: fix build error
1 parent be509fa commit e179910

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [10.x, 12.x, 14.x]
13+
node-version: [12.x, 14.x, 16.x]
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Use Node.js ${{ matrix.node-version }}

src/errors/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import type { InterfaceTypeComposer, SchemaComposer } from 'graphql-compose';
2-
import { MongoError, getMongoErrorOTC } from './MongoError';
2+
import { getMongoErrorOTC } from './MongoError';
33
import { ValidationError, getValidationErrorOTC } from './ValidationError';
44
import { RuntimeError, getRuntimeErrorOTC } from './RuntimeError';
55

6-
export { MongoError, ValidationError, RuntimeError };
6+
export { ValidationError, RuntimeError };
77

88
export function getErrorInterface(schemaComposer: SchemaComposer<any>): InterfaceTypeComposer {
99
const ErrorInterface = schemaComposer.getOrCreateIFTC('ErrorInterface', (iftc) => {

0 commit comments

Comments
 (0)