Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

#1091 Quote path to DotNetWatch.targets #1210

Conversation

ignacioerrico
Copy link
Contributor

@ignacioerrico ignacioerrico commented Oct 24, 2021

  • Since the path is passed as a command-line parameter to dotnet, it needs to be enclosed in quotation marks in case it contains a space.

Resolves #1091.

- Since the path is passed as a command-line parameter to dotnet, it needs to be enclosed in quotation marks in case it contains a space.
- Apply SRP to the methods: now each method has its own responsibility, it's clear what the arguments passed to `dotnet` are, and the quotation marks are where they should be, making their intent clear.
@dnfadmin
Copy link

dnfadmin commented Oct 27, 2021

CLA assistant check
All CLA requirements met.

@philliphoff philliphoff merged commit 873818f into dotnet:main Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Space in user name causes errors with --watch flag
3 participants