Skip to content

Commit 46f8007

Browse files
committed
Update setup.js use copyIfNotExists from utility class
1 parent 569a05f commit 46f8007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { existsSync, copyFileSync } from 'fs'
1+
import { copyIfNotExists } from "./src/lib/utilities.class.js";
22

3-
if (!existsSync('./src/urlList.class.js')) copyFileSync('./src/urlList.class.example', './src/urlList.class.js')
3+
copyIfNotExists('./src/urlList.class.example', './src/urlList.class.js')

0 commit comments

Comments
 (0)