chore: rename project to ts-pykeepass-wrapper
This commit is contained in:
@@ -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