Skip to content

Commit 90dde49

Browse files
author
sharafian
committed
style: fix lint
1 parent fdc9198 commit 90dde49

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

package-lock.json

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"sinon": "^4.1.3",
103103
"spec-xunit-file": "0.0.1-3",
104104
"ts-node": "^4.1.0",
105-
"tslint": "^5.8.0",
105+
"tslint": "^5.13.1",
106106
"tslint-config-standard": "^7.0.0",
107107
"typescript": "^3.3.3333",
108108
"unified": "^6.1.6"

src/services/admin-api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ export default class AdminApi {
192192
if (!middleware) return {}
193193
const alertMiddleware = middleware as AlertMiddleware
194194
if (!url) throw new Error('no path on request')
195-
const urlPath = (url && url.split('?')[0]) || ''
196195
const match = /^\/alerts\/(\d+)$/.exec(url.split('?')[0])
197196
if (!match) throw new Error('invalid alert id')
198197
alertMiddleware.dismissAlert(+match[1])

0 commit comments

Comments
 (0)