Skip to content

Commit 64853fe

Browse files
committed
Address comments
1 parent 80f26f5 commit 64853fe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/test-rosidl-message-generator.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ function buildTestMessage() {
8383
}
8484

8585
// Build colcon command arguments
86-
const colconArgs = ['build'];
86+
// Note: --log-base must come before the 'build' subcommand
87+
const colconArgs = [];
8788
if (logBase) {
8889
colconArgs.push('--log-base', logBase);
8990
}
91+
colconArgs.push('build');
9092

9193
const buildResult = require('child_process').spawnSync('colcon', colconArgs, {
9294
cwd: customMsgTestPath,

0 commit comments

Comments
 (0)