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
3 changes: 1 addition & 2 deletions cmd/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"testing"
"time"

"github.com/stretchr/testify/require"

"github.com/bitrise-tools/go-xcode/profileutil"
"github.com/stretchr/testify/require"
)

func createTime(t *testing.T, timeStr string) time.Time {
Expand Down
4 changes: 3 additions & 1 deletion cmd/xcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package cmd
import (
"fmt"
"path/filepath"
"strings"

"github.com/bitrise-io/go-utils/colorstring"
"github.com/bitrise-io/go-utils/fileutil"
Expand Down Expand Up @@ -67,7 +68,8 @@ the one you usually open in Xcode, then hit Enter.
if err != nil {
return fmt.Errorf("failed to read input: %s", err)
}
projectPath = projpth

projectPath = strings.Trim(strings.TrimSpace(projpth), "'\"")
}
log.Debugf("projectPath: %s", projectPath)
xcodeCmd.ProjectFilePath = projectPath
Expand Down