Skip to content

Commit 9c44913

Browse files
Refactor data directory initialization in Codebase class to ensure a unique UUID is always used
Closes #20
1 parent 918be1c commit 9c44913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ingestion/src/process/prepare/codebase.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class Codebase {
4040
}
4141

4242
private initializeDataDirectory(removeExisting = false): void {
43-
this._dataDirName = "data" || uuid()
43+
this._dataDirName = uuid()
4444
this._dataDirPath = path.resolve(this._path, this._dataDirName)
4545

4646
/* Handle data directory */

0 commit comments

Comments
 (0)