Skip to content

Commit

Permalink
[server] Don't skip prebuilds if .gitpod.yml has a 'before' task but …
Browse files Browse the repository at this point in the history
…no 'init' task
  • Loading branch information
jankeromnes authored and roboquat committed Jun 7, 2022
1 parent 5ad43cf commit 8459a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/server/ee/src/prebuilds/prebuild-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export class PrebuildManager {
return false;
}

const hasPrebuildTask = !!config.tasks && config.tasks.find((t) => !!t.init || !!t.prebuild);
const hasPrebuildTask = !!config.tasks && config.tasks.find((t) => !!t.before || !!t.init || !!t.prebuild);
if (!hasPrebuildTask) {
return false;
}
Expand Down

0 comments on commit 8459a40

Please sign in to comment.