Skip to content

Commit 768d15b

Browse files
committed
test: fix test failures
1 parent 19f51dc commit 768d15b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/store.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ export interface IStore extends Iterable<IPublisher> {
2020
delete(name: string): Promise<void>;
2121
}
2222

23-
class FileStore implements IStore {
23+
export class FileStore implements IStore {
2424
private static readonly DefaultPath = path.join(home(), '.vsce');
2525

2626
static async open(path: string = FileStore.DefaultPath): Promise<FileStore> {
2727
try {
28-
const rawStore = await readFile(FileStore.DefaultPath, 'utf8');
28+
const rawStore = await readFile(path, 'utf8');
2929
return new FileStore(path, JSON.parse(rawStore).publishers);
3030
} catch (err) {
3131
if (err.code === 'ENOENT') {

0 commit comments

Comments
 (0)