mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Remove prefix and suffix from deprecation lines
This commit is contained in:
parent
3a51228899
commit
b441b3cd6f
@ -14,6 +14,8 @@ module.exports = (grunt) ->
|
||||
logDeprecations = (label, {stdout}={}) ->
|
||||
if process.env.JANKY_SHA1 and stdout?.indexOf('Calls to deprecated functions') isnt -1
|
||||
grunt.log.error(label)
|
||||
stdout = stdout.replace(/^\[.*\] "/g, '')
|
||||
stdout = stdout.replace(/source: .*$/g, '')
|
||||
grunt.log.error(stdout)
|
||||
|
||||
getAppPath = ->
|
||||
|
Loading…
Reference in New Issue
Block a user