@sudoji/cli 0.1.8 → 0.1.9
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -253,7 +253,7 @@ function doctorCommand() {
|
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
const testInput = "password=super$ecret TOKEN=abc123 STRIPE_KEY=sk_live_xxx";
|
|
256
|
-
const testRedacted = redact(testInput);
|
|
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",
|