Fix the condition in another spot

This commit is contained in:
MKLeb 2023-06-07 14:32:01 -04:00 committed by Megan Wilhite
parent 6518cedcb5
commit 1f5191ec65

View file

@ -532,7 +532,7 @@ def setup_windows(
@pytest.fixture(scope="module")
def install_dir(_setup_system, package_type, onedir_install_path):
if package_type == "package":
if package_type != "onedir":
if platform.is_windows():
return pathlib.Path(
os.getenv("ProgramFiles"), "Salt Project", "Salt"