Skip to content

Commit 652062a

Browse files
committed
[build-script] Perform validation after defaults propagation
1 parent 6f139d7 commit 652062a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/build-script

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,12 +1768,12 @@ details of the setups of other systems or automated environments.""")
17681768
if args.cmake is not None:
17691769
toolchain.cmake = args.cmake
17701770

1771-
# Validate the arguments.
1772-
BuildScriptInvocation.validate_arguments(toolchain, args)
1773-
17741771
# Preprocess the arguments to apply defaults.
17751772
BuildScriptInvocation.apply_default_arguments(toolchain, args)
17761773

1774+
# Validate the arguments.
1775+
BuildScriptInvocation.validate_arguments(toolchain, args)
1776+
17771777
# Create the build script invocation.
17781778
invocation = BuildScriptInvocation(toolchain, args)
17791779

0 commit comments

Comments
 (0)