@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.
- package/ci/cli.js +1 -1
- 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
|
|
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
|
}
|