metro-bundler: rename Terminal back to normal

Summary: The 'class' suffix was just to workaround case-insensitivity on macOS.

Reviewed By: cpojer

Differential Revision: D5208747

fbshipit-source-id: 46bff156145880b9a894ff70b0c3dff0895a6d6c
This commit is contained in:
Jean Lauliac 2017-06-08 12:42:01 -07:00 committed by Facebook Github Bot
parent 127f3312ed
commit c1ff8b5b81
4 changed files with 3 additions and 3 deletions

View File

@ -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';

View File

@ -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(

View File

@ -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';