Skip to content

fix: align tmp and cache dir#4257

Merged
PeterSchafer merged 1 commit intomasterfrom
fix/HMMR-626
Dec 28, 2022
Merged

fix: align tmp and cache dir#4257
PeterSchafer merged 1 commit intomasterfrom
fix/HMMR-626

Conversation

@PeterSchafer
Copy link
Contributor

@PeterSchafer PeterSchafer commented Dec 22, 2022

What does this PR do?

Avoid file system conflicts on linux and align where the CLI stores files on the local system.

Background
On linux, temp dir resolves to /tmp and we extended it to /tmp/snyk. If any user chose to use create a folder or file with the same name, there is a conflict.

@PeterSchafer PeterSchafer requested a review from a team as a code owner December 22, 2022 17:07
@PeterSchafer PeterSchafer force-pushed the fix/HMMR-626 branch 5 times, most recently from e72e1d1 to 6abf792 Compare December 27, 2022 11:16
@PeterSchafer PeterSchafer changed the title fix: make temp dir unique by adding a timestamp fix: align tmp and cache dir Dec 27, 2022
@PeterSchafer
Copy link
Contributor Author

Pair Reviewed with @asaf92 after doing additional changes.

@PeterSchafer PeterSchafer merged commit 13fea9e into master Dec 28, 2022
@PeterSchafer PeterSchafer deleted the fix/HMMR-626 branch December 28, 2022 14: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.

2 participants