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

Bugfix: explicit directory creation for plugin outputs #3348

Merged
merged 1 commit into from
Mar 23, 2022
Merged

Conversation

blueridger
Copy link
Member

Description

Users are getting blocked by the error [Error: ENOENT: no such file or directory, open '/home/runner/work/makerdao-cred/makerdao-cred/output/graphs/sourcecred/discourse/graph'] because our code is not running mkdir for plugin output directories. This bug didn't show in testing because on our dev laptops we were just overwriting within existing directories from a gh-pages clone rather than a fresh checkout of the main branch. This PR fixes the bug, making it so that the mkdir method is called down the directory chain before interacting with all plugin output directories.

Test Plan

  1. checkout sourcecred/cred/gh-pages
  2. delete the ./output folder
  3. scdev go --no-load

@blueridger blueridger changed the title Bugfix: explicit directory creation for ubuntu runners Bugfix: explicit directory creation for plugin outputs Mar 23, 2022
Copy link
Contributor

@hozzjss hozzjss 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 lfg

@blueridger blueridger merged commit 24f8be3 into main Mar 23, 2022
@blueridger blueridger deleted the 0.11-fix branch March 23, 2022 21:59
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.

None yet

2 participants