aboutsummaryrefslogtreecommitdiffstats
path: root/development/sentry-publish.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
commita8f745f9fe74751b87f500af3857b66d4c80f45e (patch)
treef4f09d2b4227b35a6d2fd996113d36a8aa658ddd /development/sentry-publish.js
parentcc11a623972acf707291d7b42d9dc2f8d7006e20 (diff)
downloadtangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.gz
tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.zst
tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.zip
eslint --fix .
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