Skip to content

Commit

Permalink
Tests patch calculation fixed for case if sfdx root folder is set;
Browse files Browse the repository at this point in the history
  • Loading branch information
tirexx committed May 6, 2021
1 parent 5f933b5 commit 0c1f05e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13383,7 +13383,7 @@ let deploy = function (deploy){
if(deploy.testlevel == "RunSpecifiedTests"){
testClassesTmp = getApexTestClass(
sfdxRootFolder ? path.join(sfdxRootFolder, manifestTmp) : manifestTmp,
sfdxRootFolder ? path.join(deploy.defaultSourcePath, manifestTmp, 'classes') : deploy.defaultSourcePath,
sfdxRootFolder ? path.join(sfdxRootFolder, deploy.defaultSourcePath, 'classes') : path.join(deploy.defaultSourcePath, 'classes'),
deploy.defaultTestClass);

core.info("classes are : " + testClassesTmp);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/sfdx.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ let deploy = function (deploy){
if(deploy.testlevel == "RunSpecifiedTests"){
testClassesTmp = getApexTestClass(
sfdxRootFolder ? path.join(sfdxRootFolder, manifestTmp) : manifestTmp,
sfdxRootFolder ? path.join(deploy.defaultSourcePath, manifestTmp, 'classes') : deploy.defaultSourcePath,
sfdxRootFolder ? path.join(sfdxRootFolder, deploy.defaultSourcePath, 'classes') : path.join(deploy.defaultSourcePath, 'classes'),
deploy.defaultTestClass);

core.info("classes are : " + testClassesTmp);
Expand Down

0 comments on commit 0c1f05e

Please sign in to comment.