summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorJoey Vagedes <joeyvagedes@microsoft.com>2025-12-01 20:02:31 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-08 21:23:36 +0300
commit3f94056b30b1e6949fd4263b594e10609b04096e (patch)
treeb269eeb4a7714858ff47c16ea60cd981963b24b0 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentfaa0ebc839745f63c4f4948230fa17401f8b46f1 (diff)
downloadedk2-3f94056b30b1e6949fd4263b594e10609b04096e.tar.xz
.pytool/SpellCheck: Fix silent cspell run error
In the implementation of the SpellCheck prior to this commit, the logic assumed that if it was able to successfully call `cspell --version` to get the version, then any future usage of cspell would work without error. PR #11783 brought to light an issue in this logic where if the node version was too out of date, `cspell` could successfully run `cspell --version` but would hit a runtime error when actually performing a spell check on a package. This ultimetly resulted in cspell not running for any package but still reporting a "Success". This commit updates the error handling logic in the SpellCheck when running cspell to ensure that when cspell error lines were reported, at least one misspelled word must be found. In the scenario where error lines are reported, but no misspelled words were found, we now assume a runtime error occurred in cspell, log it, and fail the plugin. Signed-off-by: Joey Vagedes <joey.vagedes@gmail.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions