From f9b45ffa61197fc10b352c78db1bf40fa85c69b9 Mon Sep 17 00:00:00 2001 From: Owen Date: Thu, 27 Feb 2025 19:12:13 -0500 Subject: [PATCH] Use ` because of the JS string interpolation --- packages/docusaurus/src/components/WgetQuickInstaller.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/src/components/WgetQuickInstaller.tsx b/packages/docusaurus/src/components/WgetQuickInstaller.tsx index 145b9f4..4f7692b 100644 --- a/packages/docusaurus/src/components/WgetQuickInstaller.tsx +++ b/packages/docusaurus/src/components/WgetQuickInstaller.tsx @@ -9,7 +9,7 @@ const WgetQuickInstall: React.FC = () => { (async () => { const release = await fetchLatestRelease("fosrl/pangolin"); setText( - 'wget -O installer "https://github.com/fosrl/pangolin/releases/download/${release}/installer_linux_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" && chmod +x ./installer' + `wget -O installer "https://github.com/fosrl/pangolin/releases/download/${release}/installer_linux_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" && chmod +x ./installer` ); })(); }, []);