New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist #72

Closed
pinguinfuss wants to merge 6 commits from pinguinfuss:New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist into master

📖 Summary

Fix errror message of New-CredentialStoreItem when no CredentialStore exists.

📑 Test Plan

Test-CredentialStore
False
New-CredentialStoreItem -RemoteHost hans.wurst.one
New-CredentialStoreItem : The given credential store (C:\Users\pinguinfuss\AppData\Roaming\CredentialStore.json) does not exist!
In Zeile:1 Zeichen:1

  • New-CredentialStoreItem -RemoteHost hans.wurst.one
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], FileNotFoundException
      + FullyQualifiedErrorId : System.IO.FileNotFoundException,New-CredentialStoreItem
    
    
  • Tested via Drone.io pipeline
  • Custom test
  • No test plan
#### :book: Summary Fix errror message of New-CredentialStoreItem when no CredentialStore exists. #### :bookmark_tabs: Test Plan Test-CredentialStore False New-CredentialStoreItem -RemoteHost hans.wurst.one New-CredentialStoreItem : The given credential store (C:\Users\pinguinfuss\AppData\Roaming\CredentialStore.json) does not exist! In Zeile:1 Zeichen:1 + New-CredentialStoreItem -RemoteHost hans.wurst.one + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], FileNotFoundException + FullyQualifiedErrorId : System.IO.FileNotFoundException,New-CredentialStoreItem - [x] Tested via Drone.io pipeline - [ ] Custom test - [ ] No test plan
pinguinfuss added 3 commits 5 months ago
pinguinfuss added 1 commit 5 months ago
40c77e3434 Convert back to CRLF
pinguinfuss added 1 commit 5 months ago
948b42548e Fix test pipeline errors
OCram85 added 1 commit 5 months ago
Collaborator

Drone.io PR Build No. #106: failed

/drone/src/build/FileLinter-Results.log

Result File Failed
/drone/src/src/Item/New-CredentialStoreItem.ps1 EOL, EOF

/drone/src/build/Pester-Results.log

Result Test Duration
⚠️ Test-CredentialStore.Basic logic tests.Read a broken CredentialStore 0ms

🧪 49 Total Tests (✔️ 48 Passed ▫️🔱 1 Skipped / NotRun ▫️ ⚠️ Unknown ▫️ 0 Failed)
📑 Covered 38.77% / 75%. (🔖 779 analyzed Commands 📄 in 25 Files)

/drone/src/build/ScriptAnalyzer-Results.log

✔️ No violations found.

end.

> Drone.io PR Build No. [#106](https://drone.ocram85.com/OCram85/PSCredentialStore/106): ``failed`` #### ``/drone/src/build/FileLinter-Results.log`` | Result | File | Failed | | :----: | :--- | -----: | | :heavy_exclamation_mark: | `/drone/src/src/Item/New-CredentialStoreItem.ps1` | `EOL, EOF` | #### ``/drone/src/build/Pester-Results.log`` | Result | Test | Duration | | :----: | :--- | -------: | | :warning: | `Test-CredentialStore.Basic logic tests.Read a broken CredentialStore` | *0ms* | :test_tube: **49** Total Tests (:heavy_check_mark: ``48 Passed`` :white_small_square::trident: ``1 Skipped / NotRun`` :white_small_square: :warning: ``Unknown`` :white_small_square: :heavy_exclamation_mark: ``0 Failed``) :bookmark_tabs: Covered **38.77%** / 75%. (:bookmark: ``779 analyzed Commands`` :page_facing_up: ``in 25 Files``) #### ``/drone/src/build/ScriptAnalyzer-Results.log`` :heavy_check_mark: No violations found. end.
Owner

implemented with #73

implemented with #73
OCram85 closed this pull request 5 months ago
OCram85 deleted branch New-CredentialStoreItem-Warn-If-CredentialStore-Doesnt-Exist 5 months ago
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: OCram85/PSCredentialStore#72
Loading…
There is no content yet.