Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Single-quoted string interpolation in src/web5.ts #304

Merged

Conversation

stevegee1
Copy link
Contributor

Code line: 155

path: path

code snippet:
Screenshot 2023-11-20 at 12 41 14 PM

Issue: static async connect() throws error with ${storedIdentities} treated as literal characters, not as an expression for interpolation.

Relsoved issue:
Screenshot 2023-11-20 at 12 51 30 PM

Copy link

codesandbox bot commented Nov 20, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

codecov bot commented Nov 20, 2023

Codecov Report

Merging #304 (0df8c18) into main (d57927a) will not change coverage.
The diff coverage is 0.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #304   +/-   ##
=======================================
  Coverage   90.80%   90.80%           
=======================================
  Files          74       74           
  Lines       14072    14072           
  Branches     1387     1387           
=======================================
  Hits        12778    12778           
  Misses       1269     1269           
  Partials       25       25           
Components Coverage Δ
api 96.68% <0.00%> (ø)
common 95.00% <ø> (ø)
credentials 94.49% <ø> (ø)
crypto 100.00% <ø> (ø)
dids 88.75% <ø> (ø)
agent 88.07% <ø> (ø)
identity-agent 56.81% <ø> (ø)
proxy-agent 58.43% <ø> (ø)
user-agent 55.22% <ø> (ø)

@frankhinek frankhinek linked an issue Nov 20, 2023 that may be closed by this pull request
@frankhinek frankhinek added the bug Something isn't working label Nov 20, 2023
@frankhinek frankhinek added this to the @web5/api 0.8.3 milestone Nov 20, 2023
Copy link
Contributor

@frankhinek frankhinek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always great to have a new contributor!

Thanks @stevegee1 for catching this and submitting the Issue and PR.

@frankhinek frankhinek merged commit 9af892a into decentralized-identity:main Nov 20, 2023
21 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single-quoted string do not support string interpolation #bug
3 participants