We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e23617d commit 8c6676bCopy full SHA for 8c6676b
src/support/PaasKommand.ts
@@ -74,18 +74,4 @@ export class PaasKommand extends Kommand {
74
75
return this.flags.project;
76
}
77
-
78
- async getCredentials() {
79
- const project = this.getProject();
80
- const projectFile = this.fileProjectCredentials(project);
81
82
- if (!fs.existsSync(projectFile)) {
83
- this.logKo("You are not logged in. You should run paas:login first. Aborting.");
84
- process.exit(1);
85
- }
86
87
- const credentials = JSON.parse(fs.readFileSync(projectFile, "utf8"));
88
89
- return credentials.apiKey;
90
91
0 commit comments