Skip to content

Update findVaultContent function to prevent issues when dcli inject h… #389

Update findVaultContent function to prevent issues when dcli inject h…

Update findVaultContent function to prevent issues when dcli inject h… #389

Triggered via push June 10, 2024 14:06
Status Failure
Total duration 33s
Artifacts

tests.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors
build: src/modules/database/vaultContent.ts#L63
'filteredVaultContent' is never reassigned. Use 'const' instead
build: src/modules/database/vaultContent.ts#L78
Replace `(credential)·=>·credential.id·===·parsedPath.itemId` with `⏎············(credential)·=>·credential.id·===·parsedPath.itemId⏎········`
build: src/modules/database/vaultContent.ts#L83
Replace `filteredVaultContent.credentials.length·===·0·&&·filteredVaultContent.notes.length·===·0·&&·filteredVaultContent.secrets.length·===·0` with `⏎········filteredVaultContent.credentials.length·===·0·&&⏎········filteredVaultContent.notes.length·===·0·&&⏎········filteredVaultContent.secrets.length·===·0⏎····`
build
Process completed with exit code 1.