Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tyayers committed Aug 9, 2024
1 parent ba14e33 commit fe7b860
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
13 changes: 0 additions & 13 deletions cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,19 +374,6 @@ export class cli {
else if (process.env.PROJECT) {
this.apigeeService.org = process.env.PROJECT;
}
// else {
// if (options.deploy) {
// console.error(`${chalk.redBright('! Error:')} No cloud project detected, set -p to a project with Apigee enabled if you want to deploy.`); }
// }
// else {
// try {
// console.error("Trying to get project...");
// process.env.PROJECT = (await this.apigeeService.getOrg()).toString();
// } catch (error) {
// console.error("Error determining project, depoyment will not work.");
// if (options.verbose) this.logVerbose("Could not determine Google Cloud project, deploy to Apigee will not work.", "warning:")
// }
// }

if (options.verbose) this.logVerbose(`Project set to ${process.env.PROJECT}`, 'project:')

Expand Down
2 changes: 1 addition & 1 deletion module/lib/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { AnyPlugin } from './plugins/any.plugin.js';
import { ResourceFilePlugin } from './plugins/resources.file.js';

/**
* ApigeeGenerator runs the complete templating operation with all injected plugins
* ApigeeTemlater runs the complete templating
* @date 2/14/2022 - 8:22:47 AM
*
* @export
Expand Down
4 changes: 2 additions & 2 deletions module/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe7b860

Please sign in to comment.