mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 02:45:42 +03:00
chore: General Cleanup
This commit is contained in:
@@ -61,7 +61,7 @@ func newHarness(t *testing.T, plugins []string) *harness {
|
||||
exeSuffix = ".exe"
|
||||
}
|
||||
for _, p := range plugins {
|
||||
dest := strings.Join([]string{filepath.Join(h.tmpDir, p), exeSuffix}, "")
|
||||
dest := filepath.Join(h.tmpDir, p) + exeSuffix
|
||||
if err := copyFile(selfExe, dest); err != nil {
|
||||
t.Fatalf("failed to copy file: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user