Skip to content

Commit db90f49

Browse files
committed
Fixed compatibility with ESP32 Core 2.0.1
1 parent 4a3c34b commit db90f49

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

legacy/builder/recipe_runner.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ func (s *RecipeByPrefixSuffixRunner) Run(ctx *types.Context) error {
4343
recipes := findRecipes(buildProperties, s.Prefix, s.Suffix)
4444

4545
if ctx.CodeModelBuilder != nil {
46-
return nil
46+
if s.Prefix != constants.HOOKS_PREBUILD {
47+
return nil
48+
}
4749
}
4850

4951
properties := buildProperties.Clone()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy