mirror of https://github.com/status-im/migrate.git
clean cli -path
This commit is contained in:
parent
316f6c0cf3
commit
6394299937
|
@ -5,6 +5,7 @@ import (
|
|||
"fmt"
|
||||
"os"
|
||||
"os/signal"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"syscall"
|
||||
"time"
|
||||
|
@ -68,7 +69,7 @@ Commands:
|
|||
|
||||
// translate -path into -source if given
|
||||
if *sourcePtr == "" && *pathPtr != "" {
|
||||
*sourcePtr = fmt.Sprintf("file://%v", *pathPtr)
|
||||
*sourcePtr = fmt.Sprintf("file://%v", filepath.Clean(*pathPtr))
|
||||
}
|
||||
|
||||
// initialize migrate
|
||||
|
|
Loading…
Reference in New Issue