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

If filename has not been created before we have to pass force=true #184

Merged
merged 3 commits into from
Nov 15, 2022

Conversation

BernhardAhrens
Copy link
Contributor

The rm(filename) may be a bit dangerous anyways for a generic default filename="code.jl"

@xtalax
Copy link
Member

xtalax commented Oct 28, 2022

Agreed, wrt the filename being dangerous, this was not intended to be public but still.
For safety, Could you improve and/or add a random hash to the default filename to ensure that this never becomes a problem?

@BernhardAhrens
Copy link
Contributor Author

I think a more specific filename will do. With the random hash, we may start to accumulate files

@xtalax
Copy link
Member

xtalax commented Oct 28, 2022

Alright looks good, thanks!

@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Merging #184 (c2fbd25) into master (b2c2db4) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #184   +/-   ##
=======================================
  Coverage   80.47%   80.47%           
=======================================
  Files          35       35           
  Lines        1685     1685           
=======================================
  Hits         1356     1356           
  Misses        329      329           
Impacted Files Coverage Δ
src/MOL_discretization.jl 76.14% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xtalax xtalax merged commit e382b1d into SciML:master Nov 15, 2022
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