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

this.registerTransformStream is not a function #1317

Closed
wengjiacheng opened this issue Nov 22, 2021 · 2 comments
Closed

this.registerTransformStream is not a function #1317

wengjiacheng opened this issue Nov 22, 2021 · 2 comments
Labels
needs triage Awaiting triage stale

Comments

@wengjiacheng
Copy link

wengjiacheng commented Nov 22, 2021

Has This method been deleted?

module.exports = class extends Generator{
    constructor(args,opts){
        super(args,opts)
        this.argument('appname',{
            type:String,
            desc:'project name',
            required:false
        })
        this.option('current',{
            desc: 'generate app in current folder',
            type: Boolean,
            alias: 'c',
            required: false,
            default: false
        })
    }
    initializing() {
        this.registerTransformStream(Beautify());
    }
}
@wengjiacheng wengjiacheng added the needs triage Awaiting triage label Nov 22, 2021
@kethinov
Copy link

It was renamed to queueTransformStream.

@github-actions
Copy link
Contributor

This issue is stale because it has been open with no activity. Remove stale label or comment or this will be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Awaiting triage stale
Projects
None yet
Development

No branches or pull requests

2 participants