Skip to content

Create special --no-typecheck script #51830

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2022
Merged

Conversation

gabritto
Copy link
Member

@gabritto gabritto commented Dec 9, 2022

It seems that if you have a task set up on vscode (on tasks.json) whose script string has spaces in it, e.g. "script": "build:tests -- --no-typecheck", then on WSL vscode adds quotes around the script string when it runs the task, meaning that for our npm: build:tests task, vscode ran the command npm run "build:tests -- --no-typecheck", which the npm run command doesn't recognize. This was getting in the way of using our preconfigured test debug setting on vscode on WSL, so I created a separate npm build tests script that adds the --no-typecheck flag to its invocation directly.

@gabritto gabritto requested a review from jakebailey December 9, 2022 00:36
@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels Dec 9, 2022
@gabritto gabritto merged commit 6327931 into main Dec 9, 2022
@gabritto gabritto deleted the gabritto/taskNoTypeCheck branch December 9, 2022 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants