This repository was archived by the owner on Jul 18, 2025. It is now read-only.
Commit d1d0455
committed
Clean path before validating app
Use filepath.Clean() to clean the path arg in docker app validate so
that the path is correctly tested on both Unix and Windows machines.
Signed-off-by: Nick Adcock <nick.adcock@docker.com>1 parent 9a49da4 commit d1d0455
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments