We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1aba2ab + a8e5ce7 commit cf9add6Copy full SHA for cf9add6
src/utils/configoptions.ts
@@ -31,6 +31,9 @@ export type ISessionEntry = {
31
}
32
33
export function initializeConfig() {
34
+ if (!fs.existsSync(SOLIDDIR)) {
35
+ fs.mkdirSync(SOLIDDIR)
36
+ }
37
if (!fs.existsSync(BASHLIBCONFIGPATH)) {
38
let config: IConfig = {
39
currentWebID: undefined,
@@ -216,4 +219,4 @@ function loadConfig() : IConfig {
216
219
(config.authInfo[webId].session as any).expirationDate = new Date(expirationDate) // idk why its complaining here
217
220
218
221
return config
-}
222
+}
0 commit comments