Skip to content

Commit 15f80fc

Browse files
authored
Merge pull request #1785 from iamandrewluca/patch-1
fix(browser-sync): adapt yargs version method call
2 parents 2d9dd0a + d47eabf commit 15f80fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/browser-sync/lib

packages/browser-sync/lib/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function runFromCli() {
4343
.command("init", "Create a configuration file")
4444
.command("reload", "Send a reload event over HTTP protocol")
4545
.command("recipe", "Generate the files for a recipe")
46-
.version(() => pkg.version)
46+
.version(pkg.version)
4747
.epilogue(
4848
[
4949
"For help running a certain command, type <command> --help",

0 commit comments

Comments
 (0)