Browse Source

Fixing end of file marker regex

bodicsek 4 years ago
parent
commit
54b54b168d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      clv.ts

+ 1 - 1
clv.ts

@@ -32,7 +32,7 @@ for (const filename of options._ as string[]) {
           console.log("File found:", imageFilename);
           continue;
         }
-        const endOfFileMatches = parsedLine.log.match(/(.+)<<<</);
+        const endOfFileMatches = parsedLine.log.match(/(.*)<<<</);
         if (endOfFileMatches) {
           imageReading = false;
           const toFilename = `${path.dirname(filename)}/${path.basename(filename)}.${imageFilename}`;