mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
fix(lock): fix potential duplicate imports in lock-publisher
- Rewrote `src/lock-publisher.mjs` to ensure clean imports and no duplicate declarations of `withTimeout`. - This addresses the lint error `Identifier 'withTimeout' has already been declared` seen in CI. - Verified lint passes locally. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
f47fe02a94
commit
4e01a33cc2
17 files changed
+6
-168
No files matched your search
@@ -1,21 +0,0 @@
|
||||
# Missing `format` script in `package.json` prevents style enforcement
|
||||
|
||||
## Context
|
||||
`style-agent` is configured to run `npm run format` to enforce code style.
|
||||
|
||||
## Observation
|
||||
`npm run format` is missing from `package.json`.
|
||||
`npm run lint:inline-styles` is also referenced in the prompt but missing from `package.json`.
|
||||
|
||||
## Action taken
|
||||
- Verified `package.json` content.
|
||||
- Verified `npm run lint` passes.
|
||||
- Documented the missing scripts in `KNOWN_ISSUES.md`.
|
||||
|
||||
## Validation performed
|
||||
- `npm run lint` passed.
|
||||
- `npm run format` failed (would fail if run, script not found).
|
||||
|
||||
## Recommendation for next agents
|
||||
- Add `format` script to `package.json` (e.g., `prettier --write .`).
|
||||
- Add `lint:inline-styles` script if inline style linting is required.
|
||||
Reference in new issue
Block a user