Skip to content
This repository has been archived by the owner. It is now read-only.

Prevent crash when options._flags is undefined. #172

Open
wants to merge 1 commit into
base: master
from

Conversation

@AdamNiederer
Copy link
Contributor

@AdamNiederer AdamNiederer commented Feb 2, 2017

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.
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.