Use normalized transcript for trimming
This commit is contained in:
@@ -60,7 +60,7 @@ func (trimStage) Run(ctx context.Context, env *Env, m *manifest.Manifest) (*Stag
|
||||
return nil, fmt.Errorf("trim: resolve normalized transcript: %w", err)
|
||||
}
|
||||
if normalizedPath == "" {
|
||||
return nil, fmt.Errorf("trim: normalized transcript input is required")
|
||||
return nil, fmt.Errorf("trim: normalized transcript input is required; run normalize stage first")
|
||||
}
|
||||
if err := validateProcessedTranscriptOutput(normalizedPath); err != nil {
|
||||
return nil, fmt.Errorf("trim: normalized transcript %q invalid: %w", normalizedPath, err)
|
||||
|
||||
Reference in New Issue
Block a user