Closed ftiasch closed 2 years ago
@ftiasch the PR works; but I wonder if it solves your particular problem. I was expecting you to download the problem to the current working directory; otherwise it will be downloaded to the usual place and you will have no feedback of it being downloaded at all; and you will need to manually open the specific folder where it was downloaded.
Is this the expected behaviour?
Fixes #139
@ftiasch the PR works; but I wonder if it solves your particular problem. I was expecting you to download the problem to the current working directory; otherwise it will be downloaded to the usual place and you will have no feedback of it being downloaded at all; and you will need to manually open the specific folder where it was downloaded.
Is this the expected behaviour?
Yes! Usually, I have a VSCode workspace running which contains some workspace-specified settings & extensions. In particular, the acmx
extension is enabled in this workspace. Let's say my workspace already opened the folder SOLVING_PATH
.Then, I use the CompetitiveCompanion to download tasks and tests to the folder SOLVING_PATH
.
Without this PR, the SOLVING_PATH
folder is automatically opened, replacing my nicely configured workspace, which is undesired for me. Thus, I simply add an option to disable such behavior.
It seems that
package.json
configures a run test path prefix without/
whiletsconfig.json
says that theoutDir
should bedist/...
.I fixed the test command and now the tests run smoothly on my machine.