fix: path resolution for outside dirs to throw in miro test

This commit is contained in:
2026-03-21 08:57:17 +00:00
parent d56e9f3204
commit 4007a7d73e
3 changed files with 38 additions and 9 deletions
+1 -3
View File
@@ -1,8 +1,6 @@
package cmd
import (
"path/filepath"
"miro/internal/miro"
"github.com/spf13/cobra"
@@ -15,7 +13,7 @@ func newTestCommand() *cobra.Command {
RunE: func(_ *cobra.Command, args []string) error {
path := ""
if len(args) == 1 {
path = filepath.Clean(args[0])
path = args[0]
}
return miro.RunTests(path)