@farris/cli 1.0.19 → 1.0.20

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/ci/cli.js +1 -1
  2. package/package.json +1 -1
package/ci/cli.js CHANGED
@@ -184,7 +184,7 @@ function checkProjectChanges(projectInfo, lastCommit) {
184
184
  */
185
185
  function updateProjectVersion(projectInfo, updateVersionType) {
186
186
  let npmCommandArray = [];
187
- const projectPath = projectInfo?.project?.path;
187
+ const projectPath = projectInfo.project.path;
188
188
  if (!projectPath) {
189
189
  throw new Error(`update project version error: you must provide project path by project info object.`)
190
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/cli",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Farris command line interface",
5
5
  "main": "index.js",
6
6
  "scripts": {