| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This allows us to remove the `console-log-level` dependency.
There was a problem hiding this comment.
This PR replaces the console-log-level logger with the native @actions/core logger in the API client, allowing the removal of the console-log-level dependency. Additionally, the PR improves the check-node-modules.sh script to handle more installation scenarios.
Key changes:
Copilot reviewed 15 out of 16 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/api-client.ts | Replaced console-log-level logger with Actions core logger using spread syntax and aliased warn to core.warning |
| package.json | Removed console-log-level dependency |
| scripts/check-node-modules.sh | Added checks for missing node_modules, outdated package.json, and improved messaging |
| lib/*.js (multiple files) | Generated JavaScript files reflecting the TypeScript changes and dependency removal |
Sorry, something went wrong.
| log: { | ||
| ...core, | ||
| warn: core.warning, | ||
| }, |
There was a problem hiding this comment.
Minor: it might be good to set all the properties explicitly rather than include the entire core object, in case it ever changes. We'd probably want to know if that happens.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This allows us to remove the console-log-level dependency.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Merge / deployment checklist