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

Prevent crash when options._flags is undefined.#172

Open
AdamNiederer wants to merge 1 commit intovuejs:masterfrom
AdamNiederer:patch-2
Open

Prevent crash when options._flags is undefined.#172
AdamNiederer wants to merge 1 commit intovuejs:masterfrom
AdamNiederer:patch-2

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