Skip to content

Commit

Permalink
fix: deploy command would deploy all services from each processed module
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed May 24, 2018
1 parent 6904071 commit 673630c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class DeployCommand extends Command<typeof deployArgs, typeof deployOpts>
const modules = Array.from(new Set(services.map(s => s.module)))

const result = await ctx.processModules(modules, watch, async (module) => {
const servicesToDeploy = await module.getServices()
const servicesToDeploy = (await module.getServices()).filter(s => names.includes(s.name))
for (const service of servicesToDeploy) {
await ctx.addTask(await DeployTask.factory({ ctx, service, force, forceBuild }))
}
Expand Down

0 comments on commit 673630c

Please sign in to comment.