Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server-main.js runs itself outside a code-server context, which is determined using the CODE_SERVER_PARENT_PID environment variable. This is set by the wrapper, but there is no wrapper when running the cli (only for the server), so this resulting in the cli running twice (one self-run on initial import, again when we run spawnCli). This might fix #7042
- Loading branch information