Bug 1533391 - Lint Debugger on try. r=davidwalsh

Differential Revision: https://phabricator.services.mozilla.com/D22503

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Jason Laster 2019-03-11 13:28:02 +00:00
Родитель 6ae273bc63
Коммит 31602d2640
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -2,8 +2,6 @@
* 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/>. */
.scopes-content .toggle-map-scopes {
border-bottom: 1px solid var(--theme-splitter-color);
margin-bottom: 3px;

Просмотреть файл

@ -165,7 +165,7 @@ export function getLocationsInViewport({ codeMirror }: Object) {
if (!codeMirror) {
return {
start: { line: 0, column: 0 },
end: { line: 0, column: 0 },
end: { line: 0, column: 0 }
};
}
const charWidth = codeMirror.defaultCharWidth();

Просмотреть файл

@ -13,10 +13,13 @@ debugger-tests:
using: run-task
cache-dotcache: true
command: >
cd /builds/worker/checkouts/gecko/ &&
npm install &&
cd /builds/worker/checkouts/gecko/devtools/client/debugger/new/ &&
yarn &&
yarn flow &&
yarn test
yarn test &&
yarn lint
when:
files-changed:
- 'devtools/client/debugger/new/**'