diff --git a/lib/webdriveragent.js b/lib/webdriveragent.js index e374eb6ad..a4b316637 100644 --- a/lib/webdriveragent.js +++ b/lib/webdriveragent.js @@ -449,7 +449,7 @@ class WebDriverAgent { // useXctestrunFile and usePrebuiltWDA use existing dependencies // It depends on user side - if (this.idb || this.useXctestrunFile || (this.derivedDataPath && this.usePrebuiltWDA)) { + if (this.idb || this.useXctestrunFile || this.usePrebuiltWDA) { this.log.info('Skipped WDA project cleanup according to the provided capabilities'); } else { const synchronizationKey = path.normalize(this.bootstrapPath);