file-changes-action
file-changes-action copied to clipboard
Fix package.json main to use dist/index.js instead of lib/main.js
Type of Change
- [ ] New feature
- [x] Bug fix
- [ ] Documentation
- [ ] Refactor
- [ ] Chore
Describe Changes
I tried requiring the npm package for this action, and require was looking for the pkg main
which is an invalid path
my current workaround is:
const fileChanges = require("@trilom/file-changes-action/dist/index.js");