Skip to content

Commit

Permalink
Merge pull request #39 from Samsung/wits-vscode
Browse files Browse the repository at this point in the history
Fix minor bug
  • Loading branch information
pwsses authored May 27, 2020
2 parents dda7f00 + 8f25507 commit 0794893
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion command/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ function checkConfiguration() {
if (
!util.isFileExist(CONTAINER_DIRECTORY_PATH) ||
!util.isFileExist(RESOURCE_DIRECTORY_PATH) ||
!util.isFileExist(util.TOOLS_CRYPT_PATH) ||
!util.isFileExist(util.TOOLS_SDB_PATH)
) {
return false;
Expand Down
5 changes: 4 additions & 1 deletion lib/userInfoHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,11 @@ module.exports = {
: cInfo.isDebugMode
};

const profilePath = userAnswer.profilePath
? userAnswer.profilePath
: pInfo.path;
const latestProfileInfo = {
path: userAnswer.profilePath ? userAnswer.profilePath : pInfo.path
path: profilePath.trim()
};

if (userAnswer.baseAppPath) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tizentv/wits",
"version": "2.1.0",
"version": "2.1.1",
"description": "Instant live reload tool for Tizen Web Application development",
"main": "index.js",
"author": "Samsung Electronics Co., Ltd.",
Expand Down

0 comments on commit 0794893

Please sign in to comment.