Skip to content

Commit 3863d36

Browse files
authored
fix: Remove additional uses of relative paths (#65)
1 parent 802ddd1 commit 3863d36

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"mode": "auto",
1212
"program": "${workspaceFolder}/post-processors/go/main.go",
1313
"args": [
14-
"${workspaceFolder}/../go-sdk"
14+
"${workspaceFolder}/stage/go-sdk"
1515
]
1616
},
1717
{
@@ -21,7 +21,7 @@
2121
"mode": "auto",
2222
"program": "${workspaceFolder}/post-processors/csharp/main.go",
2323
"args": [
24-
"${workspaceFolder}/../dotnet-sdk"
24+
"${workspaceFolder}/stage/dotnet-sdk"
2525
]
2626
},
2727
]

post-processors/csharp/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func run() error {
6060
}
6161

6262
initialDir, _ := os.Getwd() // Used for the dotnet add package command and traversal
63-
packageInstallDir := fmt.Sprintf("%s/../dotnet-sdk/src", initialDir)
63+
packageInstallDir := fmt.Sprintf("%s/stage/dotnet-sdk/src", initialDir)
6464

6565
cmd := exec.Command("kiota", "info", "-l", "CSharp", "--json")
6666
cmd.Dir = dirPath

stage/dotnet-sdk/src/GitHub.Octokit.SDK.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434

3535
<ItemGroup>
3636
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.5.1" />
37-
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.9.0" />
38-
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.4.1" />
39-
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.2.0" />
40-
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.3.0" />
37+
<PackageReference Include="Microsoft.Kiota.Abstractions" Version="1.8.4" />
38+
<PackageReference Include="Microsoft.Kiota.Http.HttpClientLibrary" Version="1.4.0" />
39+
<PackageReference Include="Microsoft.Kiota.Serialization.Form" Version="1.1.6" />
40+
<PackageReference Include="Microsoft.Kiota.Serialization.Json" Version="1.2.3" />
4141
<PackageReference Include="Microsoft.Kiota.Serialization.Multipart" Version="1.1.4" />
4242
<PackageReference Include="Microsoft.Kiota.Serialization.Text" Version="1.1.5" />
4343
<PackageReference Include="Microsoft.Kiota.Authentication.Azure" Version="1.1.5" />

0 commit comments

Comments
 (0)