@intuned/runtime-dev 1.0.6-cli-auth.0.0.7-test → 1.0.6-cli-auth.0.0.8-test
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.
|
@@ -149,6 +149,7 @@ async function storeAuthSessionInstance(authSessionInstance, customName, authSes
|
|
|
149
149
|
const authSessionInstanceId = customName ?? `auth-session-${Date.now()}`;
|
|
150
150
|
const authSessionInstancePath = _path.default.join(authSessionsDirectoryPath, authSessionInstanceId);
|
|
151
151
|
const authSessionInstanceStoragePath = _path.default.join(authSessionInstancePath, `auth-session.json`);
|
|
152
|
+
await fs.ensureDir(authSessionInstanceStoragePath);
|
|
152
153
|
await fs.writeJSON(authSessionInstanceStoragePath, authSessionInstance, {
|
|
153
154
|
spaces: 2
|
|
154
155
|
});
|
|
@@ -165,6 +166,7 @@ async function storeAuthSessionInstance(authSessionInstance, customName, authSes
|
|
|
165
166
|
})
|
|
166
167
|
};
|
|
167
168
|
const authSessionInstanceMetadataPath = _path.default.join(authSessionInstancePath, `metadata.json`);
|
|
169
|
+
await fs.ensureDir(authSessionInstanceMetadataPath);
|
|
168
170
|
await fs.writeJSON(authSessionInstanceMetadataPath, authSessionMetadata, {
|
|
169
171
|
spaces: 2
|
|
170
172
|
});
|