Skip to content

Commit

Permalink
fix(core): fallback to checking stderr if stdout is empty on publish …
Browse files Browse the repository at this point in the history
…executor (nrwl#20737)
  • Loading branch information
meeroslav committed Dec 14, 2023
1 parent c345fd9 commit a270807
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ export default async function runExecutor(
!(
stdoutData.error?.code?.includes('E404') &&
stdoutData.error?.summary?.includes('no such package available')
) &&
!(
err.stderr?.toString().includes('E404') &&
err.stderr?.toString().includes('no such package available')
)
) {
console.error(
Expand Down

0 comments on commit a270807

Please sign in to comment.