Skip to content

Commit e624956

Browse files
author
Deyan Ginev
committed
Address PR comments.
1 parent 443afaf commit e624956

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/services/ios-log-filter.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ export class IOSLogFilter implements Mobile.IPlatformLogFilter {
5757

5858
if (matchResult && matchResult.length > 1) {
5959
// Check if the name of the app equals the name of the CLI project and turn on the filter if not.
60-
this.filterActive = matchResult[1] !== this.projectName;
60+
// We call initializeProjectData in order to obtain the current project name as the instance
61+
// of this filter may be used accross multiple projects.
62+
this.$projectData.initializeProjectData();
63+
this.filterActive = matchResult[1] !== this.$projectData.projectName;
6164
}
6265

6366
if (this.filterActive) {

0 commit comments

Comments
 (0)