We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 443afaf commit e624956Copy full SHA for e624956
lib/services/ios-log-filter.ts
@@ -57,7 +57,10 @@ export class IOSLogFilter implements Mobile.IPlatformLogFilter {
57
58
if (matchResult && matchResult.length > 1) {
59
// 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;
+ // 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;
64
}
65
66
if (this.filterActive) {
0 commit comments