eslint --fix: added missing semicolons

This commit is contained in:
Baptiste Grob
2020-02-04 14:20:20 +01:00
parent 8667aba3de
commit 7d1aff6fe2
36 changed files with 177 additions and 177 deletions

View File

@@ -59,7 +59,7 @@ export class ArchiveManager {
// Match up to the first parenthesis, i.e do not include '(Central Standard Time)'
var matches = string.match(/^(.*?) \(/);
if(matches.length >= 2) {
return matches[1]
return matches[1];
}
return string;
}
@@ -113,7 +113,7 @@ export class ArchiveManager {
const fileSuffix = `-${item.uuid.split("-")[0]}.txt`;
// Standard max filename length is 255. Slice the note name down to allow filenameEnd
filePrefix = filePrefix.slice(0, (255 - fileSuffix.length));
const fileName = `${item.content_type}/${filePrefix}${fileSuffix}`
const fileName = `${item.content_type}/${filePrefix}${fileSuffix}`;
zipWriter.add(fileName, new zip.BlobReader(blob), () => {
index++;
if(index < items.length) {