Skip to content

Commit e754acf

Browse files
committed
Fix regex replacement
1 parent 6c57383 commit e754acf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const migrateAttachments = async (body: string, githubRepoId: number | un
8181
if (err) {
8282
console.log('ERROR: ', err);
8383
} else {
84-
console.log(`\t... success`);
84+
console.log(`\t...Done uploading`);
8585
}
8686
});
8787
});
@@ -97,5 +97,5 @@ export const migrateAttachments = async (body: string, githubRepoId: number | un
9797
}
9898
}
9999

100-
return body.replace(regexp, ({},{},{},offset,{}) => offsetToAttachment[offset]);
100+
return body.replace(regexp, ({},{},{},{},offset,{}) => offsetToAttachment[offset]);
101101
};

0 commit comments

Comments
 (0)