Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 0 additions & 4 deletions frontend/app/block/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
FullSubBlockProps,
SubBlockProps,
} from "@/app/block/blocktypes";
import { PlotView } from "@/app/view/plotview/plotview";
import { PreviewModel, PreviewView, makePreviewModel } from "@/app/view/preview/preview";
import { SysinfoView, SysinfoViewModel, makeSysinfoViewModel } from "@/app/view/sysinfo/sysinfo";
import { VDomView, makeVDomModel } from "@/app/view/vdom/vdom";
Expand Down Expand Up @@ -88,9 +87,6 @@ function getViewElem(
/>
);
}
if (blockView === "plot") {
return <PlotView key={blockId} />;
}
if (blockView === "web") {
return <WebView key={blockId} blockId={blockId} model={viewModel as WebViewModel} />;
}
Expand Down
22 changes: 0 additions & 22 deletions frontend/app/view/plotview/plotview.scss

This file was deleted.

136 changes: 0 additions & 136 deletions frontend/app/view/plotview/plotview.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions pkg/remote/connutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,37 +75,6 @@ func GetWshPath(client *ssh.Client) string {
return defaultPath
}

func hasBashInstalled(client *ssh.Client) (bool, error) {
session, err := client.NewSession()
if err != nil {
// this is a true error that should stop further progress
return false, err
}

out, whichErr := session.Output("which bash")
if whichErr == nil && len(out) != 0 {
return true, nil
}

session, err = client.NewSession()
if err != nil {
// this is a true error that should stop further progress
return false, err
}

out, whereErr := session.Output("where.exe bash")
if whereErr == nil && len(out) != 0 {
return true, nil
}

// note: we could also check in /bin/bash explicitly
// just in case that wasn't added to the path. but if
// that's true, we will most likely have worse
// problems going forward

return false, nil
}

func normalizeOs(os string) string {
os = strings.ToLower(strings.TrimSpace(os))
return os
Expand Down
Loading
Loading