Skip to content

Commit 45e10a8

Browse files
committed
move state.json to the app dir
1 parent 09a9757 commit 45e10a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const cliConfig = argv(process.argv.slice(2)) as unknown as Partial<UserConfig>;
1919
const defaults: UserConfig = {
2020
apiBaseUrl: "https://cloud.mongodb.com/",
2121
clientId: "0oabtxactgS3gHIR0297",
22-
stateFile: path.resolve("./state.json"),
22+
stateFile: path.join(getLocalDataPath(), "state.json"),
2323
projectId: "",
2424
};
2525

0 commit comments

Comments
 (0)