Skip to content

Prevented mkdir to fail if the user directory is already existing. - #49

Open
RICCIARDI-Adrien wants to merge 1 commit into
assafdori:mainfrom
RICCIARDI-Adrien:mkdir_improvement
Open

Prevented mkdir to fail if the user directory is already existing.#49
RICCIARDI-Adrien wants to merge 1 commit into
assafdori:mainfrom
RICCIARDI-Adrien:mkdir_improvement

Conversation

@RICCIARDI-Adrien

Copy link
Copy Markdown

This allows to restart the script if needed.

This allows to restart the script if needed.
@Neustradamus

Copy link
Copy Markdown

Dear @assafdori,

Any progress on this PR?

@mateussiqueira

Copy link
Copy Markdown

Revisão do PR #49 — mkdir improvement

@RICCIARDI-Adrien, mudança simples e correta. A função mkdir (ou equivalente) antes falhava se o diretório já existisse; com esta alteração o script pode ser reexecutado sem problemas.

Veredito: ✅ Trivial, sem side effects. Recomendo mergear.

@mateussiqueira

Copy link
Copy Markdown

Simple one-liner, no side effects. Lets you re-run the script without it failing because the user directory already exists. No reason not to merge this.

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.

3 participants