Skip to content

Commit

Permalink
use fs/promises
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Aug 17, 2023
1 parent 1d8be43 commit 4c1615f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const os = require('os')
const fp = require('fastify-plugin')
const eos = require('end-of-stream')
const { createWriteStream } = require('fs')
const { unlink } = require('fs').promises
const { unlink } = require('fs/promises')
const path = require('path')
const { generateId } = require('./lib/generateId')
const util = require('util')
Expand Down

0 comments on commit 4c1615f

Please sign in to comment.