Commit 54a74174 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent c16d410e
......@@ -19,6 +19,8 @@ async function init() {
{
}
try {
await fs.mkdirSync('work')
}
......@@ -64,6 +66,13 @@ function makeStatus(directory) {
async function check() {
try {
await fs.mkdirSync('allFiles')
}
catch (e)
{
}
let files = await fs.readdirSync('allFiles')
if (files.length ===0)
process.exit(0)
......
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