mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-27 08:55:37 +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() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
//MoveFile - os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
|
||||||
GoLang: os.Rename() give error "invalid cross-device link" for Docker container with Volumes.
|
//MoveFile(source, destination) will work moving file between folders
|
||||||
MoveFile(source, destination) will work moving file between folders
|
|
||||||
*/
|
|
||||||
|
|
||||||
func MoveFile(sourcePath, destPath string) error {
|
func MoveFile(sourcePath, destPath string) error {
|
||||||
inputFile, err := os.Open(sourcePath)
|
inputFile, err := os.Open(sourcePath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user