Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/util/sensitive-path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const SENSITIVE_BASENAMES = [

const SENSITIVE_EXTENSIONS = [/\.pem$/i, /\.p12$/i, /\.pfx$/i, /\.key$/i, /\.keystore$/i, /\.jks$/i];

const SENSITIVE_DIRS = new Set([".ssh", ".aws", ".gnupg", ".config/gcloud", ".kube", ".docker"]);
const SENSITIVE_DIRS = new Set([".ssh", ".aws", ".gnupg", "gcloud", ".kube", ".docker"]);

/** True when reading or writing here is a decision a human should make. */
export function isSensitivePath(path: string): boolean {
Expand Down