Skip to content

Commit d210608

Browse files
authored
No check for type of profile
1 parent 1f885fa commit d210608

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

  • packages/ionic/src/commands/package

packages/ionic/src/commands/package/build.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,12 +132,6 @@ export class PackageBuildCommand extends Command implements CommandPreRun {
132132
this.env.log.error(`Profile ${chalk.bold(p.tag)} (${chalk.bold(p.name)}) was found, but didn't have credentials for ${pkg.formatPlatform(platform)}.`); // TODO: link to docs
133133
return 1;
134134
}
135-
136-
if (release && p.type !== 'production') {
137-
this.env.log.error(`Profile ${chalk.bold(p.tag)} (${chalk.bold(p.name)}) is a ${chalk.bold(p.type)} profile, which won't work for release builds.\n` +
138-
`Please use a production security profile.`); // TODO: link to docs
139-
return 1;
140-
}
141135
}
142136

143137
if (project.type === 'ionic-angular' && release && !prod) {

0 commit comments

Comments
 (0)