Skip to content

Commit

Permalink
Fix GraphQLConsoleReporter reference
Browse files Browse the repository at this point in the history
  • Loading branch information
danielholmes committed Feb 27, 2018
1 parent e3dc8e7 commit 22adca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class RelayCompilerWebpackPlugin {
const runner = new _relayCompiler.Runner({
parserConfigs: _this.parserConfigs,
writerConfigs: _this.writerConfigs,
reporter: new _relayCompiler.GraphQLConsoleReporter({ quiet: true }),
reporter: new _relayCompiler.ConsoleReporter({ quiet: true }),
onlyValidate: false,
skipPersist: true
});
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

import { Runner, JSModuleParser, GraphQLConsoleReporter } from 'relay-compiler'
import { Runner, JSModuleParser, ConsoleReporter } from 'relay-compiler'
import fs from 'fs'
import path from 'path'

Expand Down Expand Up @@ -102,7 +102,7 @@ class RelayCompilerWebpackPlugin {
const runner = new Runner({
parserConfigs: this.parserConfigs,
writerConfigs: this.writerConfigs,
reporter: new GraphQLConsoleReporter({quiet: true}),
reporter: new ConsoleReporter({quiet: true}),
onlyValidate: false,
skipPersist: true
})
Expand Down

0 comments on commit 22adca4

Please sign in to comment.