You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`Get-ConfigValue` performs shallow case-insensitive lookup only; it must not expand paths, environment variables, nested paths, or normalize key names.
44
45
-`Resolve-ConfigEnvPlaceholder` expands `${VAR}` and `%VAR%`; missing `${VAR}` throws with context instead of silently preserving the placeholder.
45
46
-`Resolve-ConfigPath` expands env placeholders, supports `~`, resolves relative paths against `BasePath`, and returns an absolute path. It does not validate existence or create directories.
47
+
-`Resolve-ConfigPlatformValue` reads platform maps in `<os>-<arch>` -> `<os>` -> `default` order; scalar strings are accepted only when `-AllowScalar` is explicitly set.
46
48
- Missing file sources return an empty table by default; `-ErrorOnMissing` changes that to `配置文件不存在: <path>`.
47
49
-`Invoke-WithScopedEnvironment` must restore overwritten variables and remove newly created variables even when the script block throws.
48
50
-`psutils/modules/config.psm1` must export public resolver functions and must not contain a second implementation of the parser.
@@ -60,6 +62,7 @@
60
62
| CLI parameter value is `$null` or whitespace | Omit it from merged config |
61
63
|`${VAR}` placeholder references a missing env var | Throw `环境变量未设置: VAR(context)`|
62
64
|`Resolve-ConfigPath` receives an empty path | Throw `路径配置不能为空: context`|
65
+
| Platform map is a scalar without `-AllowScalar`| Throw `<label> 需要按平台配置`|
0 commit comments