Skip to content
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

Refactor project package to allow linkage #382

Merged
merged 3 commits into from
Sep 26, 2023
Merged

Conversation

sourishkrout
Copy link
Member

No change to functionality whatsover.

Copy link
Collaborator

@pastuxso pastuxso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. 🚀

@@ -37,7 +37,8 @@ func tuiCmd() *cobra.Command {
return err
}

blocks, err := loadTasks(proj, cmd.OutOrStdout(), cmd.InOrStdin(), false)
loader := getLoader(cmd)
Copy link
Collaborator

@pastuxso pastuxso Sep 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sourishkrout It would be fine if project.NewLoader would have a return with error as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pastuxso can you push a commit on top with the changes you have in mind?

sourishkrout and others added 3 commits September 26, 2023 12:34
- handle potential error.
- renames function getLoader to newProjectLoader
@pastuxso pastuxso force-pushed the refactor-project-layout branch from a18d448 to 047db90 Compare September 26, 2023 17:34
@pastuxso pastuxso merged commit a96ffa4 into main Sep 26, 2023
4 checks passed
@sourishkrout
Copy link
Member Author

Thanks @pastuxso!

@sourishkrout sourishkrout deleted the refactor-project-layout branch September 26, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants