File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 5555 [switch ] $LeavePackageInstallCache
5656)
5757
58- begin {
58+ begin {
5959 Set-StrictMode - Version 3.0
6060
6161 if (! (Get-Command npm - ErrorAction SilentlyContinue)) {
@@ -85,24 +85,24 @@ begin {
8585
8686 $filesToCheck = @ ()
8787 }
88- process {
88+ process {
8989 $filesToCheck += $FileList
9090 }
91- end {
91+ end {
9292 npm -- prefix $PackageInstallCache ci | Write-Host
9393
9494 $command = " npm --prefix $PackageInstallCache exec --no -- cspell $JobType --config $CSpellConfigPath --no-must-find-files --root $SpellCheckRoot --file-list stdin"
9595 Write-Host $command
96- $cspellOutput = $filesToCheck | npm -- prefix $PackageInstallCache `
96+ $cspellOutput = $filesToCheck | npm ' --prefix' $PackageInstallCache `
9797 exec `
98- -- no `
99- -- `
98+ ' --no' `
99+ ' -- ' `
100100 cspell `
101101 $JobType `
102- -- config $CSpellConfigPath `
103- -- no- must- find-files `
104- -- root $SpellCheckRoot `
105- -- file- list stdin
102+ ' --config' $CSpellConfigPath `
103+ ' --no-must-find-files' `
104+ ' --root' $SpellCheckRoot `
105+ ' --file-list' stdin
106106
107107 if (! $LeavePackageInstallCache ) {
108108 Write-Host " Cleaning up package install cache at $PackageInstallCache "
You can’t perform that action at this time.
0 commit comments