Skip to content

Commit 64ccd7d

Browse files
committed
Add comment
1 parent 88c45fb commit 64ccd7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/commands/compose/compose.ts

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ async function compose(context: IActionContext, commands: ('up' | 'down' | 'upSu
6767
// Add the service list if needed
6868
terminalCommand.command = await addServicesOrProfilesIfNeeded(context, folder, terminalCommand.command, preselectedServices, preselectedProfiles);
6969
} else if (command === 'upSubset') {
70+
// If there are arguments, it means we're using a default command (based on the logic in selectCommandTemplate.ts)
71+
// So, we only want to add profile/service list for the upSubset command
7072
terminalCommand = await addDefaultCommandServicesOrProfilesIfNeeded(context, folder, terminalCommand, preselectedServices, preselectedProfiles);
7173
}
7274

0 commit comments

Comments
 (0)