@atlashub/smartstack-cli 3.3.0 → 3.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -126967,7 +126967,7 @@ function checkNodeInWsl() {
126967
126967
  return { installed: true, version: match2 ? match2[1] : out };
126968
126968
  }
126969
126969
  function checkDotnetInWsl() {
126970
- const out = wslExec("export PATH=\\$PATH:\\$HOME/.dotnet && dotnet --version 2>/dev/null");
126970
+ const out = wslExec("export PATH=$PATH:$HOME/.dotnet && dotnet --version 2>/dev/null");
126971
126971
  if (!out) return { installed: false, version: null };
126972
126972
  const match2 = out.match(/(\d+\.\d+\.\d+)/);
126973
126973
  return { installed: true, version: match2 ? match2[1] : out };
@@ -127071,7 +127071,7 @@ async function installDotnetInWsl() {
127071
127071
  return { success: false, error: "dotnet-install.sh failed" };
127072
127072
  }
127073
127073
  wslInstall(
127074
- `grep -q "\\$HOME/.dotnet" ~/.bashrc || echo 'export PATH="$PATH:$HOME/.dotnet"' >> ~/.bashrc`,
127074
+ `grep -q .dotnet ~/.bashrc || echo 'export PATH="$PATH:$HOME/.dotnet"' >> ~/.bashrc`,
127075
127075
  5e3
127076
127076
  );
127077
127077
  const check = checkDotnetInWsl();