Skip to content

Conversation

@silasbw
Copy link
Contributor

@silasbw silasbw commented Dec 9, 2023

The runtime already resolves the value .getShortcutDefinitions returns.

@codecov-commenter
Copy link

Codecov Report

Merging #277 (7e37acb) into main (4b6d61f) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #277   +/-   ##
=======================================
  Coverage   92.81%   92.81%           
=======================================
  Files          35       35           
  Lines         668      668           
  Branches       65       65           
=======================================
  Hits          620      620           
  Misses         45       45           
  Partials        3        3           
Files Coverage Δ
src/apps/gooddollar/shortcuts.ts 66.66% <100.00%> (ø)
src/apps/ubeswap/shortcuts.ts 66.66% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4b6d61f...7e37acb. Read the comment docs.

@silasbw silasbw marked this pull request as ready for review December 9, 2023 04:11
@silasbw
Copy link
Contributor Author

silasbw commented Dec 9, 2023

There's this guy in the pipeline, fyi: #278

Comment on lines 12 to 13
getShortcutDefinitions(_network?: string, _address?: string) {
return [
return Promise.resolve([
Copy link
Member

Choose a reason for hiding this comment

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

This works, but why not turning adding the async keyword to the function instead?
Feels simpler.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Meh, it felt superfluous because we don't use the await keyword. I can change it.

The runtime already resolves the value .getShortcutDefinitions returns.
@silasbw silasbw enabled auto-merge (squash) December 11, 2023 19:36
@silasbw silasbw merged commit 85e7dda into main Dec 11, 2023
@silasbw silasbw deleted the oops0 branch December 11, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants