# bin/lint 更新导致非捆绑插件的 lint 流程中断

**URL:** https://meta.discourse.org/t/update-to-bin-lint-breaks-linting-flow-for-non-bundled-plugins/402126
**Category:** Development
**Created:** [2026年五月4日 09:56 UTC](https://meta.discourse.org/t/update-to-bin-lint-breaks-linting-flow-for-non-bundled-plugins/402126 "2026-05-04T09:56:56Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2026年五月4日 10:18 UTC](https://meta.discourse.org/t/update-to-bin-lint-breaks-linting-flow-for-non-bundled-plugins/402126/2 "2026-05-04T10:18:17Z")

</div>

感谢提交报告 @klappradla。这应该能修复问题：

> <https://github.com/discourse/discourse/pull/39705>
>
> \`relative\_paths\` relies on the current working directory, so running it inside \`…Dir.chdir\` was producing surprising results.
> 
> Also adds \`--ignore-workspace\` to the pnpm commands, so we bypass the noise & performance hit of the automatic re-exec in \`.pnpmfile.cjs\`

---

_[View the full topic](https://meta.discourse.org/t/update-to-bin-lint-breaks-linting-flow-for-non-bundled-plugins/402126)._
