Skip to content

Commit

Permalink
fix: use @oclif/core instead old @oclif/command for bin sfdx-browserf…
Browse files Browse the repository at this point in the history
…orce-plugin
  • Loading branch information
amtrack committed Oct 7, 2022
1 parent 185e869 commit 6d7fc7a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env node

require('@oclif/command').run()
.catch(require('@oclif/errors/handle'))
const oclif = require("@oclif/core");

oclif
.run()
.then(require("@oclif/core/flush"))
.catch(require("@oclif/core/handle"));

1 comment on commit 6d7fc7a

@tfink-cc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx. That seems to have solved our "Error: Cannot find module '@oclif/command'" error running the previous version of your plugin.

Please sign in to comment.