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

[WIP] feat: Provide installation instructions on missing language preprocessors #10

Merged

Conversation

mikemenaker
Copy link
Contributor

No description provided.

),
source: options.source,
tips: [`Please install ${preprocessLang}`],
errors: [`Please install ${preprocessLang}`]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message should tell what is not working.
And then the tip can suggest how to fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, wanted to make sure I had my logic correct first

Copy link
Member

@znck znck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Just one small change.

expect(result.errors.length).toBe(0)
})

test('preprocess pug', () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test name can be set to 'warn missing preprocessor'.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated test name

@znck znck merged commit 97e772c into vuejs:master May 4, 2018
@mikemenaker mikemenaker deleted the feat/preprocessor-installation-instructions branch May 4, 2018 21:31
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