Closed mortb closed 7 years ago
This can be fixed in TSLintMSBuild.targets by adding quoutes around $(TSLintCli)
FROM (not working):
<Exec Command=""$(TSLintNodeExe)" $(TSLintCli) $(TSLintArgs)" Condition="'$(TSLintDisabled)' != 'true'" ConsoleToMsBuild="true" EchoOff="true" IgnoreExitCode="true"> <Output TaskParameter="ConsoleOutput" ItemName="TSLintOutput" /> <Output TaskParameter="ExitCode" PropertyName="TSLintErrorCode" /> </Exec>
TO (working):
<Exec Command=""$(TSLintNodeExe)" "$(TSLintCli)" $(TSLintArgs)" Condition="'$(TSLintDisabled)' != 'true'" ConsoleToMsBuild="true" EchoOff="true" IgnoreExitCode="true"> <Output TaskParameter="ConsoleOutput" ItemName="TSLintOutput" /> <Output TaskParameter="ExitCode" PropertyName="TSLintErrorCode" /> </Exec>
Thanks for the find! Do you want to submit a PR with the change?
This can be fixed in TSLintMSBuild.targets by adding quoutes around $(TSLintCli)
FROM (not working):
TO (working):