JuliaPluto/Pluto.jl

Saving a file in a folder which doesn't exist doesn't create a new folder

Aperta

#1080 aperta il 10 apr 2021

 (0 commenti) (2 reazioni) (0 assegnatari)Julia (329 fork)batch import
backendgood first issue

Metriche repository

Star
 (5295 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I was trying to save a Pluto notebook in a path that doesn't exist. This is how the directory looked before:

image

Now I wanted to create a new submission sub-directory inside the julia directory and save the file there.

image

However, neither a new directory was created nor I got any errors. Ee can create the directories just like mkdir -p does in linux. This feature is also supported by the GitHub web dashboard while adding a new file. So I think it will be a good addition here.

Guida contributor