Skip to content

Commit

Permalink
fix(dashmate): the reset platform command doesn't remove data (#2053)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Aug 14, 2024
1 parent 5a7dba4 commit aa988ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dashmate/src/listr/tasks/resetNodeTaskFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function resetNodeTaskFactory(
await dockerCompose.rm(config, { profiles: ['platform'] });

// Remove volumes
if (ctx.keepData) {
if (!ctx.keepData) {
const { COMPOSE_PROJECT_NAME: composeProjectName } = generateEnvs(config);

const projectVolumeNames = await dockerCompose.getVolumeNames(
Expand Down

0 comments on commit aa988ea

Please sign in to comment.