Skip to content

Commit

Permalink
chore: keep logging pipe for trusted plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
davbree committed Oct 27, 2024
1 parent 28a178c commit 22e98ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/build/src/steps/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ export const firePluginStep = async function ({
})
return { newError }
} finally {
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
if (!isTrustedPlugin(pluginPackageJson?.name)) {
await unpipePluginOutput(childProcess, logs, listeners, standardStreams)
}
logStepCompleted(logs, verbose)
}
}

0 comments on commit 22e98ff

Please sign in to comment.