Explorar o código

Remove unnecessary parens

Alasdair Smith %!s(int64=9) %!d(string=hai) anos
pai
achega
624802c28e

+ 1 - 1
services/web/public/coffee/ide/share/controllers/ShareProjectModalController.coffee

@@ -130,7 +130,7 @@ define [
 						.catch (err) ->
 							$scope.state.inflight = false
 							$scope.state.error = true
-							if (err.status? and err.status == 400)
+							if err.status? and err.status == 400
 								$scope.state.errorReason = 'invalid_email'
 							else
 								$scope.state.errorReason = null