Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
fix(cli): dont save private clusters to config
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Feb 16, 2018
1 parent e906b29 commit f35cd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/packages/prisma-yml/src/Environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export class Environment {

private getLocalClusterConfig() {
return this.clusters
.filter(c => !c.shared && c.clusterSecret !== this.cloudSessionKey)
.filter(c => !c.shared && c.clusterSecret !== this.cloudSessionKey && !c.isPrivate)
.reduce((acc, cluster) => {
return {
...acc,
Expand Down

0 comments on commit f35cd78

Please sign in to comment.