Describe the bug
The custom updater is empty when passing it as an JS-object (with readVersion/writeVersion functions). It works when adding it via filepath.
Current behavior
Current output is as bellow. Note the updater is empty. A tracker is supplied with filename (as string) and updater (as object with readVersion/writeVersion-methods).
Unable to obtain updater for: {"filename":".env","updater":{}}
Error: Unsupported file (.env) provided for bumping.
Please specify the updater type or use a custom updater.
Skipping...
Expected behavior
Updater should be loaded and not be empty
Describe the bug The custom updater is empty when passing it as an JS-object (with readVersion/writeVersion functions). It works when adding it via filepath.
Current behavior Current output is as bellow. Note the updater is empty. A tracker is supplied with filename (as string) and updater (as object with readVersion/writeVersion-methods).
Unable to obtain updater for: {"filename":".env","updater":{}}
Please specify the updater
type
or use a customupdater
.Expected behavior Updater should be loaded and not be empty
Environment
standard-version
version(s): masterPossible Solution When checking if the updater is valid for the first time, the argument should be
updater.updater
(as in line 80)Thank you very much for your dedication to this valuable project!