mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
deprecatedStart is an index
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = (grunt) ->
|
||||
return unless process.env.JANKY_SHA1
|
||||
stderr ?= ''
|
||||
deprecatedStart = stderr.indexOf('Calls to deprecated functions')
|
||||
return if deprecatedStart.length is -1
|
||||
return if deprecatedStart is -1
|
||||
|
||||
grunt.log.error(label)
|
||||
stderr = stderr.substring(deprecatedStart)
|
||||
|
||||
Reference in New Issue
Block a user