Skip to content

Commit 91dc943

Browse files
committed
chore: Shift back to .harperdb
1 parent 91ffdb7 commit 91dc943

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

bin/cliCredentials.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ export function clearCredentials(target: string): void {
9797
}
9898

9999
function getCredentialsFile(): string {
100-
return path.join(getHomeDir(), '.harper', 'credentials.json');
100+
return path.join(getHomeDir(), '.harperdb', 'credentials.json');
101101
}
102102

103103
function getCredentialsDir(): string {
104-
return path.join(getHomeDir(), '.harper');
104+
return path.join(getHomeDir(), '.harperdb');
105105
}

unitTests/bin/cliCredentials.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { loadCredentials, saveCredentials, clearCredentials } = require('#src/bin
88

99
describe('CLI Credentials', () => {
1010
const testDir = path.join(os.tmpdir(), `harper-test-creds-${Date.now()}`);
11-
const credentialsFile = path.join(testDir, '.harper', 'credentials.json');
11+
const credentialsFile = path.join(testDir, '.harperdb', 'credentials.json');
1212
let originalHome;
1313

1414
before(() => {

unitTests/bin/logout.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { logout } = require('#src/bin/logout');
99

1010
describe('Logout command', () => {
1111
const testDir = path.join(os.tmpdir(), `harper-test-logout-${Date.now()}`);
12-
const credentialsFile = path.join(testDir, '.harper', 'credentials.json');
12+
const credentialsFile = path.join(testDir, '.harperdb', 'credentials.json');
1313
let originalHome;
1414
let originalExit;
1515
let exitCode;

0 commit comments

Comments
 (0)