chore: rename project to ts-pykeepass-wrapper
This commit is contained in:
1 parent
8e990cb1b4
commit
ee0e2c85f4
4 files changed
+4
-4
No files matched your search
@@ -29,7 +29,7 @@ const FIXTURE_PATH = "tests/fixtures/data.kdbx";
|
||||
const FIXTURE_DATA_PATH = "tests/fixtures/data.kdbx.json";
|
||||
|
||||
async function withTempCopy<T>(filePath: string, fn: (tempPath: string) => Promise<T>): Promise<T> {
|
||||
const tempPath = join(tmpdir(), `kdbx-lib-${randomUUID()}.kdbx`);
|
||||
const tempPath = join(tmpdir(), `ts-pykeepass-wrapper-${randomUUID()}.kdbx`);
|
||||
await copyFile(filePath, tempPath);
|
||||
try {
|
||||
return await fn(tempPath);
|
||||
|
||||
Reference in new issue
Block a user