fix(build): declare err in devenv dependencies
Without the declaration, ./dev.sh build fails to compile bypy/devenv.go with "undefined: err", which blocks every Linux build of the project.
This commit is contained in:
1 file changed
+1
@@ -300,6 +300,7 @@ func dependencies(args []string) {
|
|||||||
}
|
}
|
||||||
tarfile, _ := filepath.Abs(cached_download(url))
|
tarfile, _ := filepath.Abs(cached_download(url))
|
||||||
root := root_dir()
|
root := root_dir()
|
||||||
|
var err error
|
||||||
if err := os.MkdirAll(root, 0o755); err != nil {
|
if err := os.MkdirAll(root, 0o755); err != nil {
|
||||||
exit(err)
|
exit(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user