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

feat!: core7 #564

Merged
merged 4 commits into from
Apr 10, 2024
Merged

feat!: core7 #564

merged 4 commits into from
Apr 10, 2024

Conversation

mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Apr 10, 2024

What does this PR do?

core7, etc.
node16 module/moduleResolution

one "actual" change because of typing changes in SfError https://github.com/forcedotcom/source-tracking/pull/564/files#diff-4774812bffb4d5f23a015e0d489b38f62335c3c30ca3d2b6c07760300b346d86R282

What issues does this PR fix or reference?

@W-13565856@

throw SfError.create({
message: e.message,
name: e.name,
data: e.errors.map((err) => err.message),
Copy link
Member

Choose a reason for hiding this comment

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

the previous code was saving the whole iso-git errors array but I think this is ok, those are still accessible in e.cause.errors in caller code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, cause is meant to cover that. data is typed now as AnyJson and TS didn't like Error[] (because error is a class, has various methods, etc).

Which is probably an improvement.

@mshanemc mshanemc merged commit d0d8f7b into main Apr 10, 2024
29 of 33 checks passed
@mshanemc mshanemc deleted the sm/core7 branch April 10, 2024 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants