Closed sidkhuntia closed 10 months ago
@JammUtkarsh what do you think where should i use the pathFinder
func ?
Okay, I didn't knew that a function like filepath.Clean(path)
. So we don't need to create a function and tests around it, since it comes from std lib and it would have been already tested.
You just need to change one like, which I marked and that will all be good.
Do I need to squash the commits also?
Yes, 1 commit for 1 minor fix or feature. The reason I do this(and make you do this) is to have a cleaner(and presentable) commit history.
I read this and started making atomic commits in locally. If the contribution guidelines requires me to make a single commit for a feature, then I squash them.
I will give it a read, thanks for sharing
Fixes #7 This commit introduces a new function,
pathFinder
, which takes a path as input and returns a cleaned version of the path. This function uses thefilepath.Clean
function from thepath/filepath
package in Go, which simplifies any..
or.
references in the path.