remove asserts that were obviated by dotenv
This commit is contained in:
parent
4f9b8d5d5a
commit
2bb970b98e
3 changed files with 0 additions and 8 deletions
|
@ -3,7 +3,6 @@
|
|||
require('dotenv-safe').load()
|
||||
require('colors')
|
||||
const args = require('minimist')(process.argv.slice(2))
|
||||
const assert = require('assert')
|
||||
const fs = require('fs')
|
||||
const { execSync } = require('child_process')
|
||||
const GitHub = require('github')
|
||||
|
@ -19,8 +18,6 @@ const temp = require('temp').track()
|
|||
const { URL } = require('url')
|
||||
let failureCount = 0
|
||||
|
||||
assert(process.env.ELECTRON_GITHUB_TOKEN, 'ELECTRON_GITHUB_TOKEN not found in environment')
|
||||
|
||||
const github = new GitHub({
|
||||
followRedirects: false
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue