Skip to content

Commit

Permalink
feat(sdk): save/load notification localstore file from env variable i…
Browse files Browse the repository at this point in the history
…f set
  • Loading branch information
qinezh committed Oct 31, 2023
1 parent 4e2e536 commit c59faea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/sdk/src/conversation/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import {
* @internal
*/
export class LocalFileStorage implements NotificationTargetStorage {
private readonly localFileName = ".notification.localstore.json";
private readonly localFileName =
process.env.TEAMSFX_NOTIFICATION_STORE_FILENAME ?? ".notification.localstore.json";
private readonly filePath: string;

constructor(fileDir: string) {
Expand Down

0 comments on commit c59faea

Please sign in to comment.