-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added command to print complete recipe #136
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Akshit42-hue <[email protected]>
Any updates @sahil-lakhwani @PrasadG193 :) |
Thanks for the PR @Akshit42-hue. |
Signed-off-by: Akshit42-hue <[email protected]>
Mergify is still failing. How can I fix it? @PrasadG193 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Akshit42-hue could you please add a sample output of the command for existing and missing recipe in the PR description?
path := info[0].Path | ||
// fs,e os.OpenFile(path) | ||
data, err := os.ReadFile(path) | ||
check(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should not panic. Rather return and handle err
return "", fmt.Errorf("no recipe found for %s", appName) | ||
} | ||
path := info[0].Path | ||
// fs,e os.OpenFile(path) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove unnecessary comments
Signed-off-by: Akshit42-hue [email protected]
Fixes #120