cli - `--allow-star-activation` flag doesn't work

Open Beginner friendly
#2,423 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
66/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cli, java
Domain
cli

Research direction

Start by reading the CLI option definitions and the publish command’s handling of the star activation warning; the issue does not name specific files or tests. Trace why --allow-star-activation is rejected as unknown, then verify that the flag lets publishing continue past the warning.

Written by the indexing model from the issue text.

Description

cli
$ ovsx publish --no-dependencies
Executing prepublish script 'npm run vscode:prepublish'...

> [email protected] vscode:prepublish
> ./pnpm.cmd run compile

$ ./pnpm.cmd run check-types && node esbuild.mts
$ tsc
 WARNING  Using '*' activation is usually a bad idea as it impacts performance.
More info: https://code.visualstudio.com/api/references/activation-events#Start-up
Use --allow-star-activation to bypass.
Do you want to continue? [y/N] ❌  canceled
See the documentation for more information:
https://github.com/eclipse/openvsx/wiki/Publishing-Extensions
$ ovsx publish --allow-star-activation --no-dependencies
error: unknown option '--allow-star-activation'
Dominant language
Java
Stars
2.1k
Forks
362
Avg merge
1d 3h
Merged PRs (30d)
44

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-openvsx/openvsx

All issues in eclipse-openvsx/openvsx

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.