Skip to content

Commit

Permalink
TIC-2147 nil pointer ref fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beruda committed Oct 1, 2024
1 parent 4d0e614 commit a806df5
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 a806df5

Please sign in to comment.