Commit ce66a50
XCode: trim the project path. (#69)
* XCode: After the user drag and drop the project file to the console, it will trim the project path.
characterSetToRemove {"\n", `'`, `"`}
* common.go:
- trimProjectpath method fix - Infinite loop removed. It will trim every ', ", character
- contains method removed (Already have one as a util.)
common_test.go: The "Multiple" test case has been removed. (Because we don't use multiple trim)
xcode.go: clean
https://trello.com/c/hgIG0VO9
e90afee commit fix
* common.go:
- trimProjectpath method fix - strings.Trim function's second parameter is a cutset -> There is no need for loop over the items in the cutset.
https://trello.com/c/hgIG0VO9
4894265 commit fix
* - cmd/common.go: trimProjectPath -> changed for inline code.
- cmd/common_test.go: Test_trimProjectpath removed;1 parent 39d2bfb commit ce66a50
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
| 8 | + | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments