Skip to content
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

fix(utils): add barrel file #1947

Merged
merged 4 commits into from
Apr 4, 2024
Merged

fix(utils): add barrel file #1947

merged 4 commits into from
Apr 4, 2024

Conversation

bodinsamuel
Copy link
Collaborator

Describe your changes

Fixes NAN-687

Since I didn't find any working alternatives and I haven't had any other suggestion I'm proposing this.

  • Add a standard barrel file in utils

@bodinsamuel bodinsamuel self-assigned this Apr 3, 2024
Copy link

linear bot commented Apr 3, 2024

*/
export function stringifyError(err: unknown) {
return JSON.stringify(serializeError(err));
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: I'm adding that but don't import it until we fix the packaging of the cli

@bodinsamuel bodinsamuel merged commit b5d66b0 into master Apr 4, 2024
19 checks passed
@bodinsamuel bodinsamuel deleted the fix/utils-barrel branch April 4, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants