mirror of
https://github.com/atom/atom.git
synced 2026-02-16 01:25:13 -05:00
Rename isReadme to isReadmePath
This commit is contained in:
@@ -181,7 +181,7 @@ module.exports =
|
||||
], ext, true) >= 0
|
||||
|
||||
|
||||
isReadme: (path) ->
|
||||
isReadmePath: (path) ->
|
||||
extension = @extension(path)
|
||||
base = @base(path, extension).toLowerCase()
|
||||
base is 'readme' and (extension is '' or @isMarkdownExtension(extension))
|
||||
|
||||
Reference in New Issue
Block a user