File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ def parse_bicep_params(bicep_path: Path) -> list[BicepParam]:
8080
8181def parse_parameters_json (json_path : Path ) -> list [str ]:
8282 """Return the raw parameter key names (preserving whitespace) from a
83- parameters JSON file."""
83+ parameters JSON file.
84+ """
8485 text = json_path .read_text (encoding = "utf-8-sig" )
8586 # azd parameter files may include ${VAR} or ${VAR=default} placeholders inside
8687 # string values. These are valid JSON strings, but we sanitize them so that
@@ -97,7 +98,8 @@ def parse_parameters_json(json_path: Path) -> list[str]:
9798
9899def parse_parameters_env_vars (json_path : Path ) -> dict [str , list [str ]]:
99100 """Return a mapping of parameter name → list of azd env var names
100- referenced in its value (e.g. ``${AZURE_ENV_NAME}``)."""
101+ referenced in its value (e.g. ``${AZURE_ENV_NAME}``).
102+ """
101103 text = json_path .read_text (encoding = "utf-8-sig" )
102104 result : dict [str , list [str ]] = {}
103105 params = {}
You can’t perform that action at this time.
0 commit comments