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: crash on init with inline-style options #55

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

rchl
Copy link
Member

@rchl rchl commented Aug 27, 2019

Module just crashed on parsing options when non-inline
(this.options.redirect) options were not provided. While there was a
test already that tested inline options, it didn't remove non-inline
options from config object so it didn't fail.

@codecov
Copy link

codecov bot commented Aug 27, 2019

Codecov Report

Merging #55 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #55   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines          37     37           
  Branches        8      8           
=====================================
  Hits           37     37
Impacted Files Coverage Δ
lib/module.js 100% <ø> (ø) ⬆️

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 c446821...ae8eea0. Read the comment docs.

lib/module.js Outdated Show resolved Hide resolved
Module just crashed on parsing options when non-inline
(this.options.redirect) options were not provided. While there was a
test already that tested inline options, it didn't remove non-inline
options from config object so it didn't fail.
@rchl rchl force-pushed the fix/crash-on-merging-options branch from ac52fc9 to ae8eea0 Compare August 27, 2019 11:35
@manniL manniL merged commit a28e683 into nuxt-community:master Aug 27, 2019
@rchl rchl deleted the fix/crash-on-merging-options branch August 27, 2019 11:43
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

2 participants