We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e6798 commit 1c8b7fbCopy full SHA for 1c8b7fb
shiny/_static.py
@@ -38,14 +38,8 @@ def remove_shinylive_local(
38
def get_default_shinylive_dir() -> Path:
39
import platformdirs
40
41
- return (
42
- Path(
43
- platformdirs.user_cache_dir( # pyright: ignore[reportUnknownMemberType, reportUnknownArgumentType]
44
- appname="shiny"
45
- )
46
47
- / "shinylive"
48
+ user_cache_dir = platformdirs.user_cache_dir("shinylive")
+ return Path(user_cache_dir) / "shinylive"
49
50
51
def _installed_shinylive_versions(shinylive_dir: Optional[Path] = None) -> list[str]:
0 commit comments