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

[now dev] Fix subscription resolving logic #2082

Merged
merged 4 commits into from
Apr 4, 2019

Conversation

TooTallNate
Copy link
Member

Strip the leading / since the builder outputs don't have one, match
index routes, and pass the resulting subscription key to the builder.

Strip the leading `/` since the builder outputs don't have one, match
index routes, and pass the resulting subscription key to the builder.
@codecov-io
Copy link

codecov-io commented Apr 3, 2019

Codecov Report

Merging #2082 into canary will decrease coverage by 0.12%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           canary   #2082      +/-   ##
=========================================
- Coverage    4.63%    4.5%   -0.13%     
=========================================
  Files         243     243              
  Lines        8572    8575       +3     
  Branches      873     876       +3     
=========================================
- Hits          397     386      -11     
- Misses       8158    8172      +14     
  Partials       17      17
Impacted Files Coverage Δ
src/commands/dev/lib/dev-server.ts 0% <0%> (ø) ⬆️
src/util/get-files.js 96.89% <0%> (-3.11%) ⬇️
src/util/read-metadata.js 100% <0%> (ø) ⬆️
src/util/get-project-name.js 100% <0%> (ø) ⬆️
src/util/hash.js 100% <0%> (ø) ⬆️
src/util/error.js 100% <0%> (ø) ⬆️

Continue to review full report at Codecov.

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

@TooTallNate TooTallNate merged commit 62625df into canary Apr 4, 2019
@TooTallNate TooTallNate deleted the update/now-dev-subscription-match-fixes branch April 4, 2019 00:39
leo pushed a commit that referenced this pull request Apr 5, 2019
* [now dev] Fix subscription resolving logic

Strip the leading `/` since the builder outputs don't have one, match
index routes, and pass the resulting subscription key to the builder.

* Fix `index` matching

* Update `@now/build-utils` to v0.4.39-canary.0

* Update `@now/build-utils` to v0.4.39
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.

None yet

4 participants