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

standardize this error type, this happened when the state points to a folder end... #79

Open
github-actions bot opened this issue Oct 17, 2023 · 0 comments
Assignees
Labels

Comments

@github-actions
Copy link
Contributor

https://api.github.com/gogrlx/grlx/blob/2ae30f217edc2655ab355a82a26b3d9c8708105f/cook/helpers.go#L213

		}
		// TODO allow for init.grlx types etc. in the future
		if stat.IsDir() {
			// TODO standardize this error type, this happened when the state points to a folder ending in .grlx
			return "", errors.New("path provided is a directory")
		}
		return recipeExtFile, nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant