зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1577634 - suppress warnings about comment changes in channel-prefs.js, r=bhearsum
Update verify noticed the new comments in channel-prefs.js from bug 1576546, and thought they were significant. This change suppresses that by ignoring all lines starting with '//'. Since we can't match on the significant new line but not on the existing one we swallow a rat and comment the new whitespace. Differential Revision: https://phabricator.services.mozilla.com/D44096 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
de1b47b157
Коммит
407462408c
|
@ -1,7 +1,7 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//
|
||||
// This pref is in its own file for complex reasons. See the comment in
|
||||
// browser/app/Makefile.in, bug 756325, and bug 1431342 for details. Do not add
|
||||
// other prefs to this file.
|
||||
|
|
|
@ -38,6 +38,16 @@ TRANSFORMS = [
|
|||
'side': 'source',
|
||||
'deletion': '//@line 6 "',
|
||||
},
|
||||
{
|
||||
# warning comments from bug 1576546
|
||||
'files': [
|
||||
'defaults/pref/channel-prefs.js',
|
||||
'Contents/Resources/defaults/pref/channel-prefs.js',
|
||||
],
|
||||
'channel_prefix': ['aurora', 'beta', 'release', 'esr'],
|
||||
'side': 'target',
|
||||
'deletion': '//',
|
||||
},
|
||||
{
|
||||
# updates from a beta to an RC build, the latter specifies the release channel
|
||||
'files': [
|
||||
|
|
Загрузка…
Ссылка в новой задаче