Title: Always-false-condition in editorServices.ts · Issue #17892 · microsoft/TypeScript · GitHub
Open Graph Title: Always-false-condition in editorServices.ts · Issue #17892 · microsoft/TypeScript
X Title: Always-false-condition in editorServices.ts · Issue #17892 · microsoft/TypeScript
Description: The condition on line 1663 in editorServices.ts: https://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666 is always false as the called method closeExternalProject alw...
Open Graph Description: The condition on line 1663 in editorServices.ts: https://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666 is always false as th...
X Description: The condition on line 1663 in editorServices.ts: https://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666 is always false as th...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/17892
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Always-false-condition in editorServices.ts","articleBody":"The condition on line 1663 in editorServices.ts:\r\nhttps://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666\r\n\r\nis always false as the called method `closeExternalProject` always returns void. That way the if-block with `shouldRefreshInferredProjects = true;` is never executed (for more information see the [linter rule](https://github.com/SonarSource/SonarTS/blob/master/docs/rules/no-use-of-empty-return-value.md) detecting this).\r\n","author":{"url":"https://github.com/vilchik-elena","@type":"Person","name":"vilchik-elena"},"datePublished":"2017-08-18T14:30:08Z","url":"https://github.com/microsoft/TypeScript/issues/17892"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b61ab8b0-d448-678d-5954-a7db70b4a6c8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4F0:70606:301DEC:427181:6B044D76 |
| html-safe-nonce | 0f264d7be131b0ca71abe028c91c00ee7a47c65d671152cb06315a1ae1be7948 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEYwOjcwNjA2OjMwMURFQzo0MjcxODE6NkIwNDRENzYiLCJ2aXNpdG9yX2lkIjoiNDY2ODA4MTY1OTUzMzYxMDM1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fb86567a622425e304dce1fdae6bb0fa42ad833e93f86fc8b72750e7af9a6a83 |
| hovercard-subject-tag | issue:251262978 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/17892/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7ff4ca5a0bf40c5e66546c487c02d60d457883a80db88c2f21c530c58496473c/microsoft/TypeScript/issues/17892 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7ff4ca5a0bf40c5e66546c487c02d60d457883a80db88c2f21c530c58496473c/microsoft/TypeScript/issues/17892 |
| og:image:alt | The condition on line 1663 in editorServices.ts: https://github.com/Microsoft/TypeScript/blob/eef7d8bd3d974528464c7968deab78b747568c06/src/server/editorServices.ts#L1650-L1666 is always false as th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vilchik-elena |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width