Skip to content

Commit

Permalink
Correct imports to use direct paths instead of relying on 'index.js' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Jun 13, 2019
1 parent f6fffa3 commit 2787f27
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/language/lexer.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import defineToJSON from '../jsutils/defineToJSON';
import { type Token } from './ast';
import { type Source } from './source';
import { syntaxError } from '../error';
import { syntaxError } from '../error/syntaxError';
import { dedentBlockStringValue } from './blockString';

/**
Expand Down
3 changes: 2 additions & 1 deletion src/language/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
import inspect from '../jsutils/inspect';
import defineToJSON from '../jsutils/defineToJSON';
import { Source } from './source';
import { type GraphQLError, syntaxError } from '../error';
import { type GraphQLError } from '../error/GraphQLError';
import { syntaxError } from '../error/syntaxError';
import {
type Lexer,
type TokenKindEnum,
Expand Down
2 changes: 1 addition & 1 deletion src/validation/ValidationContext.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow strict

import { type ObjMap } from '../jsutils/ObjMap';
import { type GraphQLError } from '../error';
import { type GraphQLError } from '../error/GraphQLError';
import { type ASTVisitor, visit, visitWithTypeInfo } from '../language/visitor';
import { Kind } from '../language/kinds';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/validation/validate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow strict

import invariant from '../jsutils/invariant';
import { type GraphQLError } from '../error';
import { type GraphQLError } from '../error/GraphQLError';
import { visit, visitInParallel, visitWithTypeInfo } from '../language/visitor';
import { type DocumentNode } from '../language/ast';
import { type GraphQLSchema } from '../type/schema';
Expand Down

0 comments on commit 2787f27

Please sign in to comment.