diff options
Diffstat (limited to 'mesonbuild/envconfig.py')
-rw-r--r-- | mesonbuild/envconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/envconfig.py b/mesonbuild/envconfig.py index 94127dc..0723675 100644 --- a/mesonbuild/envconfig.py +++ b/mesonbuild/envconfig.py @@ -216,7 +216,7 @@ class Properties: return res def get_java_home(self) -> T.Optional[Path]: - value = T.cast(T.Optional[str], self.properties.get('java_home')) + value = T.cast('T.Optional[str]', self.properties.get('java_home')) return Path(value) if value else None def __eq__(self, other: object) -> bool: |