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:
Родитель
512516c956
Коммит
d116787a4d
|
@ -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);
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче