Skip to content

Commit

Permalink
fix: can not find module 'cli-ux' (#403)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Donnalley <mdonnalley@salesforce.com>
  • Loading branch information
liaoyinglong and mdonnalley authored Jul 14, 2022
1 parent bb283a7 commit f16b67f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions flush.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
module.exports = async () => {
try {
const {ux} = require('cli-ux')
await ux.flush()
} catch (error) { }
}
module.exports = require('./lib').flush
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f16b67f

Please sign in to comment.