Skip to main content

BettererOptionsMerge

API > @betterer/betterer > BettererOptionsMerge

Options for when merging conflicts in the results file via the betterer.merge() API.

Signature

export interface BettererOptionsMerge 

Remarks

The options object will be validated by Betterer.

Properties

PropertyTypeDescription
contents?Array<string>(Optional) File contents for merging. If omitted, the resultsPath will be read and merged.
cwd?string(Optional) The current working directory.
resultsPath?string(Optional) The path to the results file. The resultsPath should be relative to the cwd.