Skip to content

Commit

Permalink
test(index): forced plugins to use semantic-release beta
Browse files Browse the repository at this point in the history
which deduped env-ci to the esm-only version, allowing test double to stub properly
  • Loading branch information
travi committed Nov 11, 2022
1 parent 9eab1ad commit f7c85e3
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 585 deletions.
4 changes: 2 additions & 2 deletions index.js
Expand Up @@ -36,8 +36,8 @@ async function terminalOutput(text) {

/* eslint complexity: off */
async function run(context, plugins) {
const {cwd, env, options, logger} = context;
const {isCi, branch, prBranch, isPr} = context.envCi;
const {cwd, env, options, logger, envCi} = context;
const {isCi, branch, prBranch, isPr} = envCi;
const ciBranch = isPr ? prBranch : branch;

if (!isCi && !options.dryRun && !options.noCi) {
Expand Down

0 comments on commit f7c85e3

Please sign in to comment.