mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Fail on Travis when deprecated methods are used
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports.runSpecSuite = (specSuite, logFile, logErrors=true) ->
|
||||
log(str)
|
||||
onComplete: (runner) ->
|
||||
fs.closeSync(logStream) if logStream?
|
||||
if process.env.JANKY_SHA1
|
||||
if process.env.JANKY_SHA1 or process.env.CI
|
||||
grim = require 'grim'
|
||||
|
||||
if grim.getDeprecationsLength() > 0
|
||||
|
||||
Reference in New Issue
Block a user