aboutsummaryrefslogtreecommitdiffstats
path: root/development/sentry-publish.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-07-04 00:40:25 +0800
committerGitHub <noreply@github.com>2018-07-04 00:40:25 +0800
commit1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (patch)
tree5e8d89ef2d904d7b8dffaa356a6b21a8b542a693 /development/sentry-publish.js
parent4d9ef0dd7f3e788f7734c505b72edb4657ddec9d (diff)
parent53f1072ff467d6284d1fc3143330961749baaf5e (diff)
downloadtangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.gz
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.bz2
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.lz
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.xz
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.tar.zst
tangerine-wallet-browser-1f0cf11af1c94e750bbc4c5238c3ee028350a6c6.zip
Merge pull request #4712 from MetaMask/lint-fix
Lint - Lint all the things (without conflicts!)
Diffstat (limited to 'development/sentry-publish.js')
-rw-r--r--development/sentry-publish.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/sentry-publish.js b/development/sentry-publish.js
index ab3acabbd..7a6d55115 100644
--- a/development/sentry-publish.js
+++ b/development/sentry-publish.js
@@ -5,7 +5,7 @@ const VERSION = require('../dist/chrome/manifest.json').version
start().catch(console.error)
-async function start(){
+async function start () {
const authWorked = await checkIfAuthWorks()
if (!authWorked) {
console.log(`Sentry auth failed...`)
@@ -31,21 +31,21 @@ async function start(){
console.log('all done!')
}
-async function checkIfAuthWorks() {
+async function checkIfAuthWorks () {
const itWorked = await doesNotFail(async () => {
await exec(`sentry-cli releases --org 'metamask' --project 'metamask' list`)
})
return itWorked
}
-async function checkIfVersionExists() {
+async function checkIfVersionExists () {
const versionAlreadyExists = await doesNotFail(async () => {
await exec(`sentry-cli releases --org 'metamask' --project 'metamask' info ${VERSION}`)
})
return versionAlreadyExists
}
-async function doesNotFail(asyncFn) {
+async function doesNotFail (asyncFn) {
try {
await asyncFn()
return true