In a web environment, if you had a local workspace opened without a repo (which is always the case in web since we don't have access to their git), the extension tries to use local git to create a new repo which fails.
This changes it so that it will always prompt the user to open a remote repository.
Honestly, the SWA extension could use a nice refactor. This is definitely something that I will revisit now that I know how webpack works a lot better. The codeflow is also not great to separate into desktop and web right now, so some work will have to be done for that as well.
In a web environment, if you had a local workspace opened without a repo (which is always the case in web since we don't have access to their git), the extension tries to use local git to create a new repo which fails.
This changes it so that it will always prompt the user to open a remote repository.
Honestly, the SWA extension could use a nice refactor. This is definitely something that I will revisit now that I know how webpack works a lot better. The codeflow is also not great to separate into desktop and web right now, so some work will have to be done for that as well.