diff --git a/flush.js b/flush.js index c0acff9b1..404a25a62 100644 --- a/flush.js +++ b/flush.js @@ -1,6 +1 @@ -module.exports = async () => { - try { - const {ux} = require('cli-ux') - await ux.flush() - } catch (error) { } -} +module.exports = require('./lib').flush diff --git a/src/index.ts b/src/index.ts index 05e1f8859..812189989 100644 --- a/src/index.ts +++ b/src/index.ts @@ -15,7 +15,7 @@ import {settings, Settings} from './settings' import {HelpSection, HelpSectionRenderer, HelpSectionKeyValueTable} from './help/formatter' import * as cliUx from './cli-ux' -const flush = require('../flush') +const flush = cliUx.ux.flush export { Command,