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

fix: move creation of remote folder into function call #750

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

JamieSlome
Copy link
Member

@JamieSlome JamieSlome commented Oct 21, 2024

When pullRemote.js is imported for the first time, the .remote folder is created. At the end of the chain the clearBareClone.js function purges the .remote folder. This change ensures that the .remote folder can be re-created on subsequent pushes by introducing the mkdirSync() call into the exec() function which is exported and called in the chain 👍

@JamieSlome JamieSlome added the bug Something isn't working label Oct 21, 2024
@JamieSlome JamieSlome self-assigned this Oct 21, 2024
Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit 234313a
🔍 Latest deploy log https://app.netlify.com/sites/endearing-brigadeiros-63f9d0/deploys/6716194db794ca00081a039e

Copy link

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@github-actions github-actions bot added the fix label Oct 21, 2024
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.79%. Comparing base (a1d8f42) to head (234313a).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #750   +/-   ##
=======================================
  Coverage   57.79%   57.79%           
=======================================
  Files          46       46           
  Lines        1597     1597           
=======================================
  Hits          923      923           
  Misses        674      674           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JamieSlome JamieSlome merged commit e16dfe9 into main Oct 21, 2024
15 checks passed
@JamieSlome JamieSlome deleted the fix-clone-using-remote-folder branch October 21, 2024 09:08
Psingle20 pushed a commit to Psingle20/git-proxy that referenced this pull request Nov 27, 2024
fix: move creation of remote folder into function call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant