JuliaPluto/Pluto.jl

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

Open

#1,080 opened on Apr 10, 2021

View on GitHub
 (0 comments) (2 reactions) (0 assignees)Julia (329 forks)batch import
backendgood first issue

Repository metrics

Stars
 (5,295 stars)
PR merge metrics
 (Avg merge 3d 17h) (16 merged PRs in 30d)

Description

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.

Contributor guide