You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: skip dist check and guard ow.package when packages is empty
When a manifest declares `packages: {}` the build step produces no
output so the dist directory is never created. The existing dist check
was throwing "missing files in dist/…, maybe you forgot to build your
actions?" even though there was nothing to build.
* deploy-actions.js: gate the dist check on `hasAnyActions` — only
validate the build directory when at least one package actually
defines actions. Two tests cover both branches of `pkg.actions || {}`
(empty packages and package with no actions key), keeping 100%
branch coverage on deploy-actions.js.
* utils.js (replacePackagePlaceHolder): guard the `packageNames[0]`
assignment so an empty packages object no longer clobbers `ow.package`
with `undefined`.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments