Skip to content

Commit

Permalink
[antlir2] Allow Select for dirs in ensure_dirs_exist()
Browse files Browse the repository at this point in the history
Summary: **ensure_dirs_exist()** is a wrapper for **ensure_subdirs_exist()** that already supports *Select* input, let's just allow using it.

Test Plan: tested in the following diff

Reviewed By: vmagro

Differential Revision: D64907057

fbshipit-source-id: b2cc412112d30269e75c164dddd35cc65f2fcb31
  • Loading branch information
Michal Grzedzicki authored and facebook-github-bot committed Oct 25, 2024
1 parent ce4ad8d commit b8af522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def ensure_subdirs_exist(

def ensure_dirs_exist(
*,
dirs: str,
dirs: str | Select,
mode: int | str = 0o755,
user: str = "root",
group: str = "root"):
Expand Down

0 comments on commit b8af522

Please sign in to comment.