Skip to content
Snippets Groups Projects
Commit 7819ea36 authored by arshiam2's avatar arshiam2
Browse files

update

parent d1fb70ab
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,9 @@ module.exports.handler = handleErrors(async (argv: {}) => {
fetch(target)
.then(res => (res.text()))
.then(data => {
if (data.action !== "DONE") {
if (data == "DONE") {
// queue.push(json);
// console.log(data.act)
process.exit()
} else {
console.log(data);
......
......@@ -438,6 +438,7 @@ setInterval(function sync() {
queue.push(json);
} else {
results.push(json.state)
console.log(results.length)
console.log("result: " + json.state);
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment