@bytebrand/export-cars 1.22.4 → 1.22.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -115,9 +115,9 @@ export class GoogleTransformer {
|
|
|
115
115
|
|
|
116
116
|
private getTitle(car: DataSchemes.Car): string {
|
|
117
117
|
const model = toString(get(car, 'mainData.model', ''));
|
|
118
|
-
const brand = this.getBrand(car);
|
|
118
|
+
const brand = trim(this.getBrand(car));
|
|
119
|
+
const subModel = trim(this.getTrim(car))
|
|
119
120
|
const year = this.getYear(car);
|
|
120
|
-
const subModel = this.getTrim(car)
|
|
121
121
|
|
|
122
122
|
return truncate(trim(escape(join([brand, model, year, subModel], ' '))), { length: 100, separator: ' ' })
|
|
123
123
|
}
|