mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
fix linter error
This commit is contained in:
parent
a9e871ee00
commit
2f70e6f27a
7
yq.go
7
yq.go
@ -37,11 +37,8 @@ func main() {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
|
||||
MoveFile(source, destination) will work moving file between folders
|
||||
*/
|
||||
|
||||
//MoveFile - os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
|
||||
//MoveFile(source, destination) will work moving file between folders
|
||||
func MoveFile(sourcePath, destPath string) error {
|
||||
inputFile, err := os.Open(sourcePath)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user