gologin 2.1.18 → 2.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/gologin.js +1 -0
package/package.json
CHANGED
package/src/gologin.js
CHANGED
|
@@ -509,6 +509,7 @@ export class GoLogin {
|
|
|
509
509
|
const prefFileExists = await access(pref_file_name).then(() => true).catch(() => false);
|
|
510
510
|
if (!prefFileExists) {
|
|
511
511
|
debug('Preferences file not exists waiting', pref_file_name, '. Using empty profile');
|
|
512
|
+
await mkdir(join(profilePath, 'Default'), { recursive: true });
|
|
512
513
|
await writeFile(pref_file_name, '{}');
|
|
513
514
|
}
|
|
514
515
|
|