Skip to content

Commit d98bfea

Browse files
committed
Fixes some lingering linting errors
1 parent e03ecd5 commit d98bfea

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
exports.loadDivisionTeamStandings = (teamId, callback) ->
22
unless @isId teamId
3-
throw new TSArgsError 'teamsnap.loadDivisionTeamStandings', 'must provide a teamId'
3+
throw new TSArgsError 'teamsnap.loadDivisionTeamStandings',
4+
'must provide a teamId'
45
params = teamId: teamId
56
@loadItems 'divisionTeamStanding', params, callback

src/collections/leagueCustomData.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ exports.loadLeagueCustomData = (params, callback) ->
22
if @isId params
33
params = teamId: params
44
else unless params and typeof params is 'object'
5-
throw new TSArgsError 'teamsnap.loadLeagueCustomData', 'must provide a teamId or
6-
query parameters'
5+
throw new TSArgsError 'teamsnap.loadLeagueCustomData',
6+
'must provide a teamId or query parameters'
77

88
@loadItems 'leagueCustomDatum', params, callback
99

src/collections/leagueCustomFields.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ exports.loadLeagueCustomFields = (params, callback) ->
22
if @isId params
33
params = teamId: params
44
else unless params and typeof params is 'object'
5-
throw new TSArgsError 'teamsnap.loadLeagueCustomFields', 'must provide a teamId or
6-
query parameters'
5+
throw new TSArgsError 'teamsnap.loadLeagueCustomFields',
6+
'must provide a teamId or query parameters'
77

88
@loadItems 'leagueCustomField', params, callback

src/persistence.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ modifySDK = (sdk) ->
285285
toRemove.push event.availabilities...
286286

287287
linking.unlinkItems toRemove, lookup
288-
deleteEvent.call(this, event, include, notify, notifyAs, callback).then((result) ->
288+
deleteEvent.call(this, event, include, notify, notifyAs, callback)
289+
.then((result) ->
289290
if event.isGame
290291
promises.when(
291292
sdk.loadTeamResults event.teamId

src/teamsnap.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ class TeamSnap
1010
Collection: Collection
1111
Item: Item
1212

13-
constructor: (@apiUrl = 'https://apiv3.teamsnap.com', @authUrl = 'https://auth.teamsnap.com') ->
13+
constructor: (@apiUrl = 'https://apiv3.teamsnap.com',
14+
@authUrl = 'https://auth.teamsnap.com') ->
1415

1516

1617

0 commit comments

Comments
 (0)