Skip to content
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.

Prevent crash when options._flags is undefined. #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdamNiederer
Copy link
Contributor

Some tools might pass an empty options object to Vueify. This means options._flags is undefined, and options._flags.debug is a crash.
Short-circuiting falsey _flags values will prevent this crash in most cases.

Some tools might pass an empty options object to Vueify. This means options._flags is undefined, and options._flags.debug is a crash.
Short-circuiting falsey _flags values will prevent this crash in most cases.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant