Skip to content

Commit e318ab6

Browse files
committed
address asdf install feedback
1 parent 642633b commit e318ab6

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

apps/site/snippets/en/download/asdf.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
88
asdf install nodejs ${props.release.version}
99

1010
# Set Node.js as the global default:
11-
asdf set -u nodejs ${props.release.version}
11+
asdf global nodejs ${props.release.version}

apps/site/util/download/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ const createIcon = (
8686

8787
const IconComponent = IconModule[iconName];
8888

89-
if (!IconComponent) {
90-
return undefined;
91-
}
92-
9389
return <IconComponent width={16} height={16} />;
9490
};
9591

0 commit comments

Comments
 (0)