Commit db32b204 authored by Vegard Mehammer Eidsmo's avatar Vegard Mehammer Eidsmo
Browse files

Update index.ts

parent 41be8da6
......@@ -52,7 +52,7 @@ function createCSV(res: Prod[]){
if(thisProd.GTIN.length > 0){
//Handle
let handle: string = `${thisProd.Number}-${thisProd.Variant? thisProd.Variant: thisProd.Color}`.replace(/ /g,"-");
let handle: string = `${thisProd.Number}-${thisProd.Variant? thisProd.Variant: thisProd.Color}`.replace(/ /g,"-").toLocaleLowerCase();
let line: string = `\r\n${handle}`;
//Title
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment