@sudoji/cli 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -252,8 +252,8 @@ function doctorCommand() {
|
|
|
252
252
|
detail: `${baseUrl}/healthz \u2014 ${err instanceof Error ? err.message : err}`
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
|
-
const testInput = "password=super$
|
|
256
|
-
const testRedacted = redact(testInput);
|
|
255
|
+
const testInput = "password=super$ecret123 token=abcdefgh12 STRIPE_KEY=sk_live_xxx";
|
|
256
|
+
const { text: testRedacted } = redact(testInput);
|
|
257
257
|
const redactionWorking = !testRedacted.includes("super$ecret") && !testRedacted.includes("abc123");
|
|
258
258
|
checks.push({
|
|
259
259
|
label: "Redaction active",
|