Fix moveToPermanentPath ext Default Missing '.' (#7281)

This commit is contained in:
Jonathan Herbert
2025-01-07 15:13:01 -04:00
committed by GitHub
parent fe8d3b081c
commit cdd7d040b9
+1 -1
View File
@@ -215,7 +215,7 @@ async function doResize(localUri: string, opts: DoResizeOpts): Promise<Image> {
)
}
async function moveToPermanentPath(path: string, ext = 'jpg'): Promise<string> {
async function moveToPermanentPath(path: string, ext = '.jpg'): Promise<string> {
/*
Since this package stores images in a temp directory, we need to move the file to a permanent location.
Relevant: IOS bug when trying to open a second time: