Skip to content

Commit

Permalink
fix: object files not going into dir
Browse files Browse the repository at this point in the history
  • Loading branch information
barthofu authored Jun 25, 2022
1 parent ecdf0f2 commit 634d57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export async function backup(
// use the hash as the obj file name
const fileDir = objDir + hash[0]
const fileName = hash.substring(1)
const fileDest = `${fileDir}${fileName}`
const fileDest = `${fileDir}/${fileName}`

// create the obj directory if it doesn't exist
if (!existsSync(fileDir)) mkdirSync(fileDir, { recursive: true })
Expand Down

0 comments on commit 634d57d

Please sign in to comment.