mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
Merge branch 'main' into add-new-skill-clean
This commit is contained in:
@@ -296,7 +296,7 @@ Use this skill when:
|
||||
+ return processOrder(order);
|
||||
+ }
|
||||
|
||||
# EVEN BETER: Using Result type
|
||||
# EVEN BETTER: Using Result type
|
||||
+ function process(order): Result<ProcessedOrder, Error> {
|
||||
+ return Result.combine([
|
||||
+ validateOrderExists(order),
|
||||
|
||||
Reference in New Issue
Block a user