File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ $licenseContent = Get-Content (Join-Path $cloneDir "LICENSE")
5252$mitStartIndex = $licenseContent.IndexOf (" MIT License" )
5353$licenseHeader = ($licenseContent [$mitStartIndex .. ($licenseContent.Length - 1 )] | ForEach-Object { (" * " + $_ ).TrimEnd() }) -join " `n "
5454
55- $entryFilePath = Join-Path $cloneDir ( Join-Path $protoPrefix $entryFile )
55+ $entryFilePath = Join-Path $cloneDir $protoPrefix $entryFile
5656if (-not (Test-Path $entryFilePath )) {
5757 throw " Failed to find $entryFilePath in mutagen repo"
5858}
@@ -77,7 +77,7 @@ function Add-ImportedFiles([string] $path) {
7777
7878 # Mutagen generates from within the pkg directory, so we need to add
7979 # the prefix.
80- $filePath = Join-Path $cloneDir ( Join-Path $protoPrefix $importPath )
80+ $filePath = Join-Path $cloneDir $protoPrefix $importPath
8181 if (-not $filesToCopy.ContainsKey ($filePath )) {
8282 Write-Host " Adding $filePath $importPath "
8383 $filesToCopy [$filePath ] = $importPath
@@ -107,7 +107,7 @@ try {
107107 Copy-Item - Force $filePath $dstPath
108108
109109 # Determine the license header.
110- $fileHeader = " /** `n " +
110+ $fileHeader = " /*`n " +
111111 " * This file was taken from `n " +
112112 " * https://github.com/mutagen-io/mutagen/tree/$mutagenTag /$protoPrefix /$protoPath `n " +
113113 " *`n " +
You can’t perform that action at this time.
0 commit comments