-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.9 image fails trying to load schema from current directory #1023
Comments
This is being caused by esbuild, and there is a warning during bundling:
(https://git.apextoaster.com/ssube/salty-dog/-/jobs/385796) The code falls back to
(https://github.com/ssube/salty-dog/blob/master/src/config/index.ts#L29) |
The first case, running the container itself, is fixed. Running the global command from within the container, is not:
The usual logic for finding |
Bug
Something is broken!
Summary
Error loading schema to validate config since v0.9 image was published.
Steps to Reproduce
Actual Behavior
Expected Behavior
Should load the config from
/salty-dog/rules/salty-dog.yml
(or../../rules
, relative to the entrypoint script), whether that is/salty-dog/out/bundle/index.cjs
or/salty-dog/out/src/index.js
.The text was updated successfully, but these errors were encountered: