Skip to content

Commit

Permalink
Fix flow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 29, 2020
1 parent 31be452 commit 0852f80
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/babel-cli/src/babel/dir.js
Expand Up @@ -144,6 +144,12 @@ export default async function({

const logSuccess = debounce(
function() {
if (startTime === null) {
// This should never happen, but just in case it's better
// to ignore the log message rather than making @babel/cli crash.
return;
}

const diff = process.hrtime(startTime);

console.log(
Expand Down

0 comments on commit 0852f80

Please sign in to comment.