diff --git a/packages/metro-bundler/src/lib/TerminalClass.js b/packages/metro-bundler/src/lib/Terminal.js similarity index 100% rename from packages/metro-bundler/src/lib/TerminalClass.js rename to packages/metro-bundler/src/lib/Terminal.js diff --git a/packages/metro-bundler/src/lib/TerminalReporter.js b/packages/metro-bundler/src/lib/TerminalReporter.js index aa4ef26c..987d937f 100644 --- a/packages/metro-bundler/src/lib/TerminalReporter.js +++ b/packages/metro-bundler/src/lib/TerminalReporter.js @@ -18,7 +18,7 @@ const reporting = require('./reporting'); const throttle = require('lodash/throttle'); const util = require('util'); -import type Terminal from './TerminalClass'; +import type Terminal from './Terminal'; import type {ReportableEvent, GlobalCacheDisabledReason} from './reporting'; const DEP_GRAPH_MESSAGE = 'Loading dependency graph'; diff --git a/packages/metro-bundler/src/lib/__tests__/TerminalClass-test.js b/packages/metro-bundler/src/lib/__tests__/Terminal-test.js similarity index 98% rename from packages/metro-bundler/src/lib/__tests__/TerminalClass-test.js rename to packages/metro-bundler/src/lib/__tests__/Terminal-test.js index 36079936..67720c56 100644 --- a/packages/metro-bundler/src/lib/__tests__/TerminalClass-test.js +++ b/packages/metro-bundler/src/lib/__tests__/Terminal-test.js @@ -32,7 +32,7 @@ describe('Terminal', () => { }); function prepare(isTTY) { - const Terminal = require('../TerminalClass'); + const Terminal = require('../Terminal'); const lines = 10; const columns = 10; const stream = Object.create( diff --git a/packages/metro-bundler/src/lib/reporting.js b/packages/metro-bundler/src/lib/reporting.js index e4e7c482..82ff82e0 100644 --- a/packages/metro-bundler/src/lib/reporting.js +++ b/packages/metro-bundler/src/lib/reporting.js @@ -14,7 +14,7 @@ const chalk = require('chalk'); const util = require('util'); -import type Terminal from './TerminalClass'; +import type Terminal from './Terminal'; export type GlobalCacheDisabledReason = 'too_many_errors' | 'too_many_misses';