diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-15 15:44:33 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-15 15:44:33 +0100 |
commit | 83215bd58abf23c98d8c5e482fce482509b027a8 (patch) | |
tree | bd43d870b6bd43923b3d3f81f68f459ea29c7144 /platform/web/detect.py | |
parent | 994dd21c0263ecbf1f1dc777eca2d639732c4143 (diff) | |
parent | 633dcf6dfdffe0503b2e88594d535f63e279bc16 (diff) | |
download | redot-engine-83215bd58abf23c98d8c5e482fce482509b027a8.tar.gz |
Merge pull request #85322 from Repiteo/scons-Environment-to-SConsEnvironment
SCons: Change `Environment` type hints to `SConsEnvironment`
Diffstat (limited to 'platform/web/detect.py')
-rw-r--r-- | platform/web/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/web/detect.py b/platform/web/detect.py index bbe1634dfa..7d9b1de6b7 100644 --- a/platform/web/detect.py +++ b/platform/web/detect.py @@ -15,7 +15,7 @@ from SCons.Util import WhereIs from typing import TYPE_CHECKING if TYPE_CHECKING: - from SCons import Environment + from SCons.Script.SConscript import SConsEnvironment def get_name(): @@ -81,7 +81,7 @@ def get_flags(): ] -def configure(env: "Environment"): +def configure(env: "SConsEnvironment"): # Validate arch. supported_arches = ["wasm32"] if env["arch"] not in supported_arches: |