cpu().brand removed extra spaces, tabs
This commit is contained in:
+4
-4
@@ -115,10 +115,10 @@ const AMDBaseFrequencies = {
|
||||
};
|
||||
|
||||
function cpuBrandManufacturer(res) {
|
||||
res.brand = res.brand.replace(/\(R\)+/g, '®');
|
||||
res.brand = res.brand.replace(/\(TM\)+/g, '™');
|
||||
res.brand = res.brand.replace(/\(C\)+/g, '©');
|
||||
res.brand = res.brand.replace(/CPU+/g, '').trim();
|
||||
res.brand = res.brand.replace(/\(R\)+/g, '®').replace(/\s+/g, ' ').trim();
|
||||
res.brand = res.brand.replace(/\(TM\)+/g, '™').replace(/\s+/g, ' ').trim();
|
||||
res.brand = res.brand.replace(/\(C\)+/g, '©').replace(/\s+/g, ' ').trim();
|
||||
res.brand = res.brand.replace(/CPU+/g, '').replace(/\s+/g, ' ').trim();
|
||||
res.manufacturer = res.brand.split(' ')[0];
|
||||
|
||||
let parts = res.brand.split(' ');
|
||||
|
||||
Reference in New Issue
Block a user