aboutsummaryrefslogtreecommitdiffstats
path: root/development/sentry-publish.js
diff options
context:
space:
mode:
authorTrejGun <trejgun@gmail.com>2018-07-05 11:34:13 +0800
committerTrejGun <trejgun@gmail.com>2018-07-05 11:34:13 +0800
commit94d1d846fb57932fd1e959f53dbf6444f0789e91 (patch)
tree369276cd66bdcae85cac77b2c9b2458de5b08dd7 /development/sentry-publish.js
parentc94f639de55a867ebe8d3599d337a1f7341b1979 (diff)
parentfd218142acb6dab0b2f921b9729f17ff90cffc2d (diff)
downloadtangerine-wallet-browser-94d1d846fb57932fd1e959f53dbf6444f0789e91.tar.gz
tangerine-wallet-browser-94d1d846fb57932fd1e959f53dbf6444f0789e91.tar.zst
tangerine-wallet-browser-94d1d846fb57932fd1e959f53dbf6444f0789e91.zip
Merge branch 'develop' into contextTypes
# Conflicts: # ui/app/components/send_/send-content/send-gas-row/gas-fee-display/gas-fee-display.component.js
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