Skip to content

Commit

Permalink
MN-4952: fix monaca import and monaca clone (#202)
Browse files Browse the repository at this point in the history
* fix: monaca import/clone to resolve absolute directory path

* chore: bump version 5.0.1
  • Loading branch information
yong-asial authored Jan 11, 2024
1 parent 8068e04 commit 193d4c5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
CHANGELOG
====

v5.0.1
----

#### Bug Fix

* Fixed `monaca import` and `monaca clone` to resolve directory path.

v5.0.0
----

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "monaca",
"version": "5.0.0",
"version": "5.0.1",
"description": "Monaca Command Line Tool",
"bin": {
"monaca": "bin/monaca"
Expand Down
2 changes: 1 addition & 1 deletion src/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ SyncTask.clone = function(saveCloudProjectID) {
.then(
function() {
util.print((saveCloudProjectID ? 'Cloning' : 'Importing') + ' \'' + project.name + '\' to ' + project.absolutePath);
return monaca.cloneProject(project.projectId, project.destPath, saveCloudProjectID)
return monaca.cloneProject(project.projectId, path.resolve(project.destPath), saveCloudProjectID)
.progress(util.displayProgress);
}
)
Expand Down

0 comments on commit 193d4c5

Please sign in to comment.