Skip to content

Commit 1fbeeed

Browse files
authored
Merge pull request #191 from Tenderly/vuk/actions/build-fix-nilpointerref
TIC-2147 `nil pointer ref` fix
2 parents 4d0e614 + a806df5 commit 1fbeeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/actions/publish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ func buildFunc(cmd *cobra.Command, args []string) {
168168

169169
if tsconfig != nil {
170170
outDir = filepath.Join(actions.Sources, *tsconfig.CompilerOptions.OutDir)
171-
if *tsconfig.CompilerOptions.RootDir != "" {
171+
if tsconfig.CompilerOptions.RootDir != nil && *tsconfig.CompilerOptions.RootDir != "" {
172172
sourcesDir = filepath.Join(actions.Sources, *tsconfig.CompilerOptions.RootDir)
173173
}
174174
mustInstallDependencies(actions.Sources)

0 commit comments

Comments
 (0)