Skip to content
This repository has been archived by the owner on Jun 23, 2019. It is now read-only.

Commit

Permalink
Remove useless sleep function
Browse files Browse the repository at this point in the history
  • Loading branch information
languitar committed Jan 1, 2019
1 parent 1221acb commit 7368dcc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drawio-batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ program
})
.parse(process.argv)

const puppeteer = require('puppeteer')

function sleep (ms) {
return new Promise(resolve => setTimeout(resolve, ms))
}
const puppeteer = require('puppeteer');

(async () => {
const browser = await puppeteer.launch({args: ['--no-sandbox']})
Expand Down

0 comments on commit 7368dcc

Please sign in to comment.