semver-ratchet 1.1.3 → 1.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semver-ratchet",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Forward-only versioning for Trunk-Based Development",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/src/cli.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  pushGitTag,
14
14
  isMainBranch,
15
15
  parseSemver,
16
- getGitAdapter,
16
+ getGitAdapterInstance,
17
17
  } from './version.js';
18
18
 
19
19
  /**
@@ -110,7 +110,7 @@ function cmdCheckMonotonic(_args) {
110
110
  // For main branch, compare with latest tag
111
111
  if (isMainBranch(_args.trunkName)) {
112
112
  try {
113
- const adapter = getGitAdapter();
113
+ const adapter = getGitAdapterInstance();
114
114
  const latestTag = adapter.getLatestTag();
115
115
 
116
116
  if (latestTag) {