Commit aa55d60d authored by Ahmad Nemati's avatar Ahmad Nemati

init

parent 947f8bc7
...@@ -62,7 +62,7 @@ async function check() ...@@ -62,7 +62,7 @@ async function check()
} }
await sleep(250)
return check() return check()
...@@ -70,6 +70,10 @@ async function check() ...@@ -70,6 +70,10 @@ async function check()
// console.log(files) // console.log(files)
} }
function sleep(millis) {
return new Promise(resolve => setTimeout(resolve, millis));
}
function makeStatusNew(directory, status) { function makeStatusNew(directory, status) {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment