Skip to content

Commit

Permalink
Revert simple Join-Path syntax (#2459)
Browse files Browse the repository at this point in the history
  • Loading branch information
shaopeng-gh authored Feb 18, 2022
1 parent 92cb8e0 commit 525a250
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions ado-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
inputs:
targetType: filePath
filePath: ./scripts/BuildAndTest.ps1
pwsh: true

- task: PublishBuildArtifacts@1
inputs:
Expand All @@ -42,4 +41,3 @@ jobs:
inputs:
targetType: filePath
filePath: ./scripts/BuildMultitoolForNpm.ps1
pwsh: true
4 changes: 2 additions & 2 deletions scripts/NuGetUtilities.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ if ($ENV:OS) {
$NugetExePath = "$RepoRoot\.nuget\NuGet.exe"
}
$NuGetPackageRoot = Join-Path $SourceRoot "packages"
$NuGetSamplesPackageRoot = Join-Path $SourceRoot "Samples" "packages"
$NuGetSamplesPackageRoot = Join-Path (Join-Path $SourceRoot "Samples") "packages"
$NuGetConfigFile = Join-Path $RepoRoot "NuGet.Config"

$PackageSource = "https://nuget.org"
$PackageOutputDirectoryRoot = Join-Path $BuildRoot "Publish" "NuGet"
$PackageOutputDirectoryRoot = Join-Path (Join-Path $BuildRoot "Publish") "NuGet"

function Get-PackageVersion([switch]$previous) {
$versionPrefix, $schemaVersion, $stableSarifVersion = & $PSScriptRoot\Get-VersionConstants.ps1 -Previous:$previous
Expand Down
2 changes: 1 addition & 1 deletion scripts/ScriptUtilities.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $InformationPreference = "Continue"
$RepoRoot = $(Resolve-Path $PSScriptRoot\..).Path
$Platform = "AnyCPU"
$SourceRoot = Join-Path $RepoRoot "src"
$JsonSchemaPath = Join-Path $SourceRoot "Sarif" "Schemata" "sarif-schema.json"
$JsonSchemaPath = Join-Path (Join-Path (Join-Path $SourceRoot "Sarif") "Schemata") "sarif-schema.json"
$BuildPropsPath = Join-Path $SourceRoot "build.props"
$BuildRoot = Join-Path $RepoRoot "bld"
$BinRoot = Join-Path $BuildRoot "bin"
Expand Down

0 comments on commit 525a250

Please sign in to comment.