Skip to content

Drop PlatformService as a dependency of FileSystem.#9784

Merged
ericsnowcurrently merged 1 commit into
microsoft:masterfrom
ericsnowcurrently:fs-drop-platform-injection
Jan 27, 2020
Merged

Drop PlatformService as a dependency of FileSystem.#9784
ericsnowcurrently merged 1 commit into
microsoft:masterfrom
ericsnowcurrently:fs-drop-platform-injection

Conversation

@ericsnowcurrently

Copy link
Copy Markdown

(for #8995)

The dependency is unnecessary and adds complication to various places that FileSystem is used. Dropping it simplifies things going forward.

@ericsnowcurrently ericsnowcurrently added the no-changelog No news entry required label Jan 27, 2020
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@kimadeline

Copy link
Copy Markdown

Did you/Will you/Can you run CI tests on this PR?

@codecov-io

codecov-io commented Jan 27, 2020

Copy link
Copy Markdown

Codecov Report

Merging #9784 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #9784      +/-   ##
==========================================
- Coverage   60.88%   60.87%   -0.01%     
==========================================
  Files         556      556              
  Lines       30000    29998       -2     
  Branches     4548     4548              
==========================================
- Hits        18265    18261       -4     
- Misses      10708    10710       +2     
  Partials     1027     1027
Impacted Files Coverage Δ
src/client/sourceMapSupport.ts 78.26% <100%> (-0.47%) ⬇️
src/client/common/utils/localize.ts 95.11% <100%> (-0.02%) ⬇️
src/client/common/platform/fileSystem.ts 57.65% <100%> (-1.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6da8d3...194c05a. Read the comment docs.

@ericsnowcurrently

Copy link
Copy Markdown
Author

@kimadeline, yeah, I'll do that. It just takes soooo long and this PR has almost 0 risk.

Comment thread src/test/interpreters/condaService.unit.test.ts
@ericsnowcurrently
ericsnowcurrently merged commit f2f9c23 into microsoft:master Jan 27, 2020
@ericsnowcurrently
ericsnowcurrently deleted the fs-drop-platform-injection branch January 27, 2020 23:23
@lock lock Bot locked as resolved and limited conversation to collaborators Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants