fix(handelsregister): Correct screenshot path handling in HandelsRegister and add local tool permissions
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@fin.cx/opendata',
|
||||
version: '3.2.1',
|
||||
version: '3.2.2',
|
||||
description: 'A comprehensive TypeScript library for accessing business data and real-time financial information. Features include German company data management with MongoDB integration, JSONL bulk processing, automated Handelsregister interactions, and real-time stock market data from multiple providers.'
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ export class HandelsRegister {
|
||||
timeout: 30000,
|
||||
})
|
||||
.catch(async (err) => {
|
||||
await pageArg.screenshot({ path: this.downloadDir + '/error.png' });
|
||||
await pageArg.screenshot({ path: `${this.downloadDir}/error.png` as `${string}.png` });
|
||||
throw err;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user