File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ for d in $(find . -type d -not -iwholename '*.git*' -a -not -iname '.tool' -a -n
1717 --exclude=' schema/fs.go' \
1818 --disable=aligncheck \
1919 --disable=gotype \
20- --cyclo-over=20 \
20+ --cyclo-over=35 \
2121 --tests \
2222 --deadline=10s " ${d} "
2323done
Original file line number Diff line number Diff line change @@ -154,9 +154,9 @@ loop:
154154 // Not the root directory, ensure that the parent directory exists
155155 parent := filepath .Dir (hdr .Name )
156156 parentPath := filepath .Join (dest , parent )
157- if _ , err := os .Lstat (parentPath ); err != nil && os .IsNotExist (err ) {
158- if err2 := os .MkdirAll (parentPath , 0777 ); err2 != nil {
159- return err2
157+ if _ , err2 := os .Lstat (parentPath ); err2 != nil && os .IsNotExist (err2 ) {
158+ if err3 := os .MkdirAll (parentPath , 0777 ); err3 != nil {
159+ return err3
160160 }
161161 }
162162 }
You can’t perform that action at this time.
0 commit comments