fix(lint): update check_deps for src/remote (#4547)

check_deps was throwing an error, but nobody was catching it and it still returned an exit code 0. I fixed that, and also fixed the error by adding deps for src/remote.
This commit is contained in:
Joel Einbinder 2020-11-30 14:57:17 -08:00 коммит произвёл GitHub
Родитель 512516c956
Коммит d116787a4d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -123,4 +123,11 @@ DEPS['src/trace/'] = ['src/utils/', 'src/client/**', 'src/server/**'];
// Debug is a server plugin, nothing should depend on it.
DEPS['src/debug/'] = ['src/utils/', 'src/generated/', 'src/server/**', 'src/debug/**'];
checkDeps();
// The service is a cross-cutting feature, and so it depends on a bunch of things.
DEPS['src/remote/'] = ['src/client/', 'src/debug/', 'src/dispatchers/', 'src/server/', 'src/server/electron/', 'src/trace/'];
DEPS['src/service.ts'] = ['src/remote/'];
checkDeps().catch(e => {
console.error(e && e.stack ? e.stack : e);
process.exit(1);
});