-
Notifications
You must be signed in to change notification settings - Fork 10
Conversation
💔 |
We have added one parameter in the filter method which we do not need and we do not respect it when we call the method. The solution is to remove it.
2fcf361
to
04b0009
Compare
❤️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is not the correct fix. The problem is somewhere else, maybe we are not passing correct arguments everywhere...
* @param {string} pid @optional The application PID for this device. | ||
* @param {string} logLevel @optional The logging level based on which input data will be filtered. | ||
* @return {string} The filtered result based on the input or null when the input data shouldn't be shown. | ||
*/ | ||
filterData(platform: string, data: string, projectDir: string, pid?: string, logLevel?: string): string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required for NativeScript CLI:
https://github.com/NativeScript/nativescript-cli/blob/master/lib/services/ios-log-filter.ts#L11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The projectDirectory
is required only in the ios-log-filter
in the NS CLI. That's why we will remove the parameter from the method and fix it only in the NS CLI.
We have added one parameter in the filter method which we do not need and we do not respect it when we call the method. The solution is to remove it.