mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Only strip iOS logs if they begin with a date
This commit is contained in:
@@ -457,8 +457,10 @@ var execCordovaOnPlatform = function (localPath, platformName) {
|
||||
};
|
||||
|
||||
var iosMapper = function (line) {
|
||||
// remove the prefix
|
||||
line = line.replace(/^\S+\s\S+\s\S+\s/, '');
|
||||
if (line.match(/^[0-9]+-[0-9]+-[0-9].*/)) {
|
||||
// if the line starts with the date, we remove the prefix
|
||||
line = line.replace(/^\S+\s\S+\s\S+\s/, '');
|
||||
}
|
||||
return Log.format(Log.objFromText(line, { program: 'ios' }), {
|
||||
metaColor: 'cyan',
|
||||
color: true
|
||||
|
||||
Reference in New Issue
Block a user