cob-cli 2.19.0 → 2.19.1

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.
@@ -1,6 +1,7 @@
1
1
  const inquirer = require('inquirer');
2
2
  const colors = require('colors');
3
3
  const fs = require("fs");
4
+ const path = require('path');
4
5
  const { checkWorkingCopyCleanliness } = require("../task_lists/common_helpers");
5
6
  const { checkVersion } = require("./upgradeRepo");
6
7
 
@@ -73,10 +74,10 @@ function processOption(option) {
73
74
  /* ************************************************************************ */
74
75
 
75
76
  function updateCustomizationsVersions(customizationKey, version) {
76
- const customizationsVersionsFile = "./customizations.json";
77
+ const customizationsVersionsFile = "customizations.json";
77
78
  let customizationsVersions
78
- try {
79
- customizationsVersions = require(customizationsVersionsFile)
79
+ try {
80
+ customizationsVersions = require(path.resolve(customizationsVersionsFile))
80
81
  }
81
82
  catch (err) {
82
83
  customizationsVersions = {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cob-cli",
3
- "version": "2.19.0",
3
+ "version": "2.19.1",
4
4
  "description": "A command line utility to help Cult of Bits partners develop with higher speed and reusing common code and best practices.",
5
5
  "preferGlobal": true,
6
6
  "repository": {