mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix dump file write directory
PiperOrigin-RevId: 332254072
This commit is contained in:
parent
f56db87c99
commit
cc10657c09
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ public class DumpFileAsserts {
|
||||||
} else {
|
} else {
|
||||||
File file =
|
File file =
|
||||||
DUMP_FILE_ACTION == WRITE_TO_LOCAL
|
DUMP_FILE_ACTION == WRITE_TO_LOCAL
|
||||||
? new File(StandardSystemProperty.USER_DIR.value(), "../../testdata/src/test")
|
? new File(StandardSystemProperty.USER_DIR.value(), "../../testdata/src/test/assets")
|
||||||
: context.getExternalFilesDir(null);
|
: context.getExternalFilesDir(null);
|
||||||
file = new File(file, dumpFile);
|
file = new File(file, dumpFile);
|
||||||
Assertions.checkStateNotNull(file.getParentFile()).mkdirs();
|
Assertions.checkStateNotNull(file.getParentFile()).mkdirs();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue