Skip to content

Commit 17ccabc

Browse files
committed
1 parent 0f37c75 commit 17ccabc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

files.coffee

-4
Original file line numberDiff line numberDiff line change
@@ -1440,8 +1440,6 @@ class FilesCollection
14401440
###
14411441
findOne: (selector, options) ->
14421442
console.info "[FilesCollection] [findOne(#{JSON.stringify(selector)}, #{JSON.stringify(options)})]" if @debug
1443-
check selector, Match.Optional Match.OneOf Object, String, Boolean, null
1444-
check options, Match.Optional Object
14451443

14461444
selector = {} unless arguments.length
14471445
doc = @collection.findOne selector, options
@@ -1458,8 +1456,6 @@ class FilesCollection
14581456
###
14591457
find: (selector, options) ->
14601458
console.info "[FilesCollection] [find(#{JSON.stringify(selector)}, #{JSON.stringify(options)})]" if @debug
1461-
check selector, Match.OneOf Object, String, null
1462-
check options, Match.Optional Object
14631459

14641460
selector = {} unless arguments.length
14651461
return new FilesCursor selector, options, @

0 commit comments

Comments
 (0)