Closed hatemhosny closed 10 months ago
What change does this pull request introduce?
This PR fixes a few issues related to fetching algorithms:
name.split('/')
name.split(path.sep)
git clone --depth 1 https://github.com/TheAlgorithms/${repo}.git
Checklist
main
yarn lint
yarn build
The latest updates on your projects. Learn more about Vercel for Git ↗︎
What change does this pull request introduce?
This PR fixes a few issues related to fetching algorithms:
name.split('/')
does not work for paths on windows. Replaced by the cross-platformname.split(path.sep)
git clone --depth 1 https://github.com/TheAlgorithms/${repo}.git
Checklist
main
.main
branch.yarn lint
.yarn build
to check everything still builds successfully.