| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -321,12 +321,14 @@ func downloadScript(codeServerPath string) string { | |||
| 321 | 321 | return fmt.Sprintf( | |
| 322 | 322 | `set -euxo pipefail || exit 1 | |
| 323 | 323 | ||
| 324 | + pkill -f %v || true | ||
| 324 | 325 | mkdir -p ~/.local/share/code-server %v | |
| 325 | 326 | cd %v | |
| 326 | 327 | wget -N https://codesrv-ci.cdr.sh/latest-linux | |
| 327 | 328 | [ -f %v ] && rm %v | |
| 328 | 329 | ln latest-linux %v | |
| 329 | 330 | chmod +x %v`, | |
| 331 | + codeServerPath, | ||
| 330 | 332 | filepath.Dir(codeServerPath), | |
| 331 | 333 | filepath.Dir(codeServerPath), | |
| 332 | 334 | codeServerPath, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,7 +40,7 @@ func TestSSHCode(t *testing.T) { | |||
| 40 | 40 | wg.Add(1) | |
| 41 | 41 | go func() { | |
| 42 | 42 | defer wg.Done() | |
| 43 | - err := sshCode("127.0.0.1", "", options{ | ||
| 43 | + err := sshCode("foo@127.0.0.1", "", options{ | ||
| 44 | 44 | sshFlags: testSSHArgs(sshPort), | |
| 45 | 45 | localPort: localPort, | |
| 46 | 46 | remotePort: remotePort, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments