Skip to content

Commit

Permalink
chore: mkdir artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
sun0day committed Dec 16, 2023
1 parent 1605e4c commit 9d1e25d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/file.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export async function exist(file) {

export async function createDir(file, root) {
const dir = getRealPath(file, root)
console.log(dir, await exist(dir))
if (!(await exist(dir))) {
await mkdir(dir)
}
Expand Down

0 comments on commit 9d1e25d

Please sign in to comment.