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

Make this generator work with require.resolve #179

Merged
merged 1 commit into from
Jul 30, 2019
Merged

Make this generator work with require.resolve #179

merged 1 commit into from
Jul 30, 2019

Commits on Jul 13, 2019

  1. Make this generator work with require.resolve

    I followed [Integrating Yeoman](https://yeoman.io/authoring/integrating-yeoman.html) to learn how to run a generator programatically and noticed the code example there doesn't work with the VS Code generator. See yeoman/environment#116.
    
    I worked around this by using `path.join(__dirname, 'node_modules/generator-code/generators/app/index.js')`, but I think there is no harm down in making this compatible with the guide.
    
    I believe this should do it.
    TomasHubelbauer committed Jul 13, 2019
    Configuration menu
    Copy the full SHA
    0addba9 View commit details
    Browse the repository at this point in the history