Skip to content

Commit f729b1b

Browse files
chrisllontoptoddbaert
authored andcommitted
docs: fix comment in README for Hook’s after method (open-feature#1102)
## This PR - Fixes incorrect comment in the README for the Hook implementation's `after` method. Signed-off-by: Christian Llontop <[email protected]> Co-authored-by: Todd Baert <[email protected]> Signed-off-by: Will Chou <[email protected]>
1 parent e89c2e0 commit f729b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/web/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ import type { Hook, HookContext, EvaluationDetails, FlagValue } from "@openfeatu
379379

380380
export class MyHook implements Hook {
381381
after(hookContext: HookContext, evaluationDetails: EvaluationDetails<FlagValue>) {
382-
// code that runs when there's an error during a flag evaluation
382+
// code that runs after flag values are successfully resolved from the provider
383383
}
384384
}
385385
```

0 commit comments

Comments
 (0)