Skip to content

Commit 8c6676b

Browse files
committed
Removing unused function for paas
1 parent e23617d commit 8c6676b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/support/PaasKommand.ts

-14
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,4 @@ export class PaasKommand extends Kommand {
7474

7575
return this.flags.project;
7676
}
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-
}
9177
}

0 commit comments

Comments
 (0)