Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/profiling-node/scripts/prune-profiler-binaries.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ const NODE_TO_ABI = {
16: '93',
18: '108',
20: '115',
22: '127',
};

if (NODE) {
Expand All @@ -73,6 +74,8 @@ if (NODE) {
NODE = NODE_TO_ABI['18'];
} else if (NODE.startsWith('20')) {
NODE = NODE_TO_ABI['20'];
} else if (NODE.startsWith('22')) {
NODE = NODE_TO_ABI['22'];
} else {
ARGV_ERRORS.push(
'❌ Sentry: Invalid node version passed as argument, please make sure --target_node is a valid major node version. Supported versions are 16, 18 and 20.',
Expand Down
Loading