Fix lint errors

Summary:
Release note: none

Fix lint errors that came our way via an internal check in.
Closes https://github.com/facebook/prepack/pull/2052

Differential Revision: D8197681

Pulled By: hermanventer

fbshipit-source-id: fdc481228239dcc1eeafc904536188e25289162a
This commit is contained in:
Herman Venter 2018-05-29 17:35:04 -07:00 committed by Facebook Github Bot
parent 3131aad4c1
commit 26290ddd00

View File

@ -49,7 +49,7 @@ function runTest(name: string, config: any) {
console.log(chalk.bold(`js1 jest ${testName}`));
console.log("-----------------------------");
execSync(`${__dirname}/../../js/scripts/jest/jest ${testName}`, { stdio: "inherit" });
console.log('\n\n\n');
console.log("\n\n\n");
// Verify we can Prepack the bundle
console.log("-----------------------------");
@ -61,7 +61,7 @@ function runTest(name: string, config: any) {
fs.writeFileSync(`${__dirname}/../fb-www/input.js`, sourceCode, "utf8");
execSync(`${__dirname}/../../third-party/node/bin/node scripts/debug-fb-www.js`, { stdio: "inherit" });
console.log('\n\n\n');
console.log("\n\n\n");
console.log("-----------------------------");
console.log("Running tests after Prepack:");
@ -81,7 +81,7 @@ function runTest(name: string, config: any) {
);
// Verify the test passes on the output
execSync(`${__dirname}/../../js/scripts/jest/jest ${testName}`, { stdio: "inherit" });
console.log('\n\n\n');
console.log("\n\n\n");
console.log("Success!");
} finally {
// Revert the change.