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

Callback could be optional #5

Open
deybydjimenez opened this issue Jan 8, 2023 · 1 comment
Open

Callback could be optional #5

deybydjimenez opened this issue Jan 8, 2023 · 1 comment

Comments

@deybydjimenez
Copy link

Hi, I noticed if you don't define a callback on the usage it will throw an exception. Can you make it optional? I think sometimes you don't really need a callback (which is my current scenario)

jsonConcat({
    src: ["appVars.json", "userVars.json"],
    dest: "./config.json"
})

It's annoying to have an empty callback and ESLinter is driving me crazy!

@deybydjimenez deybydjimenez changed the title Callback would be optional Callback could be optional Jan 8, 2023
@GochoMugo
Copy link
Owner

@deybydjimenez Could you open a PR for it?

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

No branches or pull requests

2 participants