Skip to content

Commit 7c588bc

Browse files
committed
Split semicolon-joined comments into separate sentences
1 parent ac763e6 commit 7c588bc

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/libs/actions/Attachment/index.native.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ async function getCachedAttachment({attachmentID, attachment, currentSource}: Ge
8585
const localSource = attachment?.source;
8686
if (localSource) {
8787
// The OS can purge Caches while the Onyx record survives, so verify the file still
88-
// exists; if it was purged, fall back to the current source and re-cache it
88+
// exists. If it was purged, fall back to the current source and re-cache it.
8989
const localFileExists = await RNFS.exists(localSource);
9090
if (localFileExists) {
9191
return localSource;

src/libs/fileDownload/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const postDownloadFile = (translate: LocalizedTranslate, url: string, fileName?:
7070
return RNFS.mkdir(expensifyDir).then(() => {
7171
return (
7272
RNFS.writeFile(localPath, fileData, 'utf8')
73-
// The share sheet lets the user save the file to the Files app; the staged copy is removed afterwards
73+
// The share sheet lets the user save the file to the Files app. The staged copy is removed afterwards.
7474
.then(() => Share.open({url: localPath, failOnCancel: false, saveToFiles: true}))
7575
.then(() => RNFS.unlink(localPath))
7676
);

src/libs/migrations/MoveFilesOutOfDocuments/index.native.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ export default function (): Promise<void> {
133133
return (
134134
Promise.all([moveAttachmentCache().then(() => updateAttachmentRecordPaths()), removeStaleOnyxDump(), removeStaleExportStagingDir()])
135135
.then(() => undefined)
136-
// A failed cleanup must never block app startup; new files already go to the new
137-
// locations, and the cleanup runs again on the next launch
136+
// A failed cleanup must never block app startup. New files already go to the new
137+
// locations, and the cleanup runs again on the next launch.
138138
.catch((error) => {
139139
Log.warn('[Migrate Onyx] MoveFilesOutOfDocuments failed', {error: error instanceof Error ? error.message : String(error)});
140140
})

0 commit comments

Comments
 (0)