Skip to content

Commit

Permalink
Merge pull request #191 from Tenderly/vuk/actions/build-fix-nilpointe…
Browse files Browse the repository at this point in the history
…rref

TIC-2147 `nil pointer ref` fix
  • Loading branch information
beruda authored Oct 1, 2024
2 parents 4d0e614 + a806df5 commit 1fbeeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/actions/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func buildFunc(cmd *cobra.Command, args []string) {

if tsconfig != nil {
outDir = filepath.Join(actions.Sources, *tsconfig.CompilerOptions.OutDir)
if *tsconfig.CompilerOptions.RootDir != "" {
if tsconfig.CompilerOptions.RootDir != nil && *tsconfig.CompilerOptions.RootDir != "" {
sourcesDir = filepath.Join(actions.Sources, *tsconfig.CompilerOptions.RootDir)
}
mustInstallDependencies(actions.Sources)
Expand Down

0 comments on commit 1fbeeed

Please sign in to comment.