From 3943c3ae6feeb254c74a4d1147ce8ed85220d21b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 18 Oct 2021 17:50:31 +0200 Subject: [PATCH] inline-gen: Fix lint --- documentation/misc/actors_version_checklist.md | 2 +- gen/inline-gen/main.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/misc/actors_version_checklist.md b/documentation/misc/actors_version_checklist.md index be7e2bd92..5e6038c2b 100644 --- a/documentation/misc/actors_version_checklist.md +++ b/documentation/misc/actors_version_checklist.md @@ -4,7 +4,7 @@ - [ ] Define upgrade heights in `build/params_` - [ ] Generate adapters - [ ] Update `gen/inlinegen-data.json` - - [ ] Update adapter code in `chain/actors/version.go` if needed + - [ ] Update `chain/actors/version.go` - [ ] Update adapter code in `chain/actors/builtin` if needed - [ ] Run `make actors-gen` - [ ] Update `chain/consensus/filcns/upgrades.go` diff --git a/gen/inline-gen/main.go b/gen/inline-gen/main.go index 2f87afd79..d97134cdd 100644 --- a/gen/inline-gen/main.go +++ b/gen/inline-gen/main.go @@ -29,6 +29,9 @@ func main() { } err = filepath.WalkDir(os.Args[1], func(path string, d fs.DirEntry, err error) error { + if err != nil { + return err + } if d.IsDir() { return nil }