use os.homeDir
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
const {startBookWithNumbers} = require('./src/appointment')
|
||||
const {homedir} = require("os");
|
||||
homeDir = homedir()
|
||||
//faubourg, random
|
||||
startBookWithNumbers(1, 4000, "random", "/Users/panlei/Desktop/yahoo_aol.xlsx", true, false).then((r) => {
|
||||
startBookWithNumbers(1, 10000, "random", homeDir + "/Desktop/contact_list_all.xlsx", true, false).then((r) => {
|
||||
console.log(r)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user