fix: npm run start bug when `extensions` not exist
This commit is contained in:
parent
efd56c94e1
commit
11134e365e
|
|
@ -36,6 +36,12 @@ if (existsSync(profilePath)) {
|
|||
writeAddonProxyFile();
|
||||
}
|
||||
} else {
|
||||
if (
|
||||
existsSync(profilePath) &&
|
||||
!existsSync(path.join(profilePath, "extensions"))
|
||||
) {
|
||||
mkdirSync(path.join(profilePath, "extensions"));
|
||||
}
|
||||
writeAddonProxyFile();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue