Skip to content

Commit

Permalink
Remove references to old type check script (elastic#202825)
Browse files Browse the repository at this point in the history
## Summary

Remove references to `scripts/build_ts_refs` which doesn't exist anymore

Co-authored-by: Alex Szabo <[email protected]>
  • Loading branch information
Ikuni17 and delanni authored Dec 18, 2024
1 parent 5103345 commit 35231e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev_docs/getting_started/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When switching branches, sometimes the TypeScript cache can get mixed up and sho
1. Build TypeScript references with the clean command.

```
node scripts/build_ts_refs --clean
node scripts/type_check.js --clean-cache
```

2. Restore your repository to a totally fresh state by running `git clean`
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-ts-type-check-cli/root_refs_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function isRootRefsConfigSelfManaged() {

function generateTsConfig(refs: string[]) {
return dedent`
// This file is automatically updated when you run \`node scripts/build_ts_refs\`.
// This file is automatically updated when you run \`node scripts/type_check\`.
{
"include": [],
"references": [
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/rule_registry/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ If you run into tsc errors that seem unrelated to the cases plugin try executing
```bash
cd <kibana root dir>
npx yarn kbn bootstrap
node scripts/build_ts_refs.js --clean --no-cache
node scripts/type_check.js --clean-cache
```

0 comments on commit 35231e9

Please sign in to comment.