Skip to content

Commit b214a4a

Browse files
committed
fix(rename-overwrite): fs-extra already exports promisified functions
1 parent 2af185a commit b214a4a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rename-overwrite/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
'use strict'
22
const fs = require('fs')
3-
const { promisify } = require('util')
43
const copySync = require('fs-extra/lib/copy/copy-sync')
5-
const copy = promisify(require('fs-extra/lib/copy/copy'))
4+
const copy = require('fs-extra/lib/copy/copy')
65
const path = require('path')
76
const rimraf = require('@zkochan/rimraf')
87

0 commit comments

Comments
 (0)