|
|
@@ -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}`;
|