mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
merge: Update directory workflow (#1000)
* chore: update directory workflow
Workflow now only runs on `pull_request` to prevent pushing on the master branch.
* chore: update commit mechanism
* chore: remove rundundant script
* Update UpdateDirectory.yml
* Updated Documentation in README.md
* Update UpdateDirectory.yml
* fix: replace wrong variable
* Updated Documentation in README.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
2
.github/workflows/UpdateDirectory.mjs
vendored
2
.github/workflows/UpdateDirectory.mjs
vendored
@@ -35,7 +35,7 @@ function pathsToMarkdown (filePaths) {
|
||||
|
||||
for (let filepath of filePaths) {
|
||||
let filename = path.basename(filepath)
|
||||
filepath = path.dirname(path.sep)
|
||||
filepath = path.dirname(filepath)
|
||||
|
||||
if (filepath !== oldPath) {
|
||||
oldPath = printPath(oldPath, filepath, output)
|
||||
|
||||
Reference in New Issue
Block a user