Skip to content

Commit 42d3151

Browse files
committed
fix files import order in some cases with agency 🐛
1 parent 1b4f8a2 commit 42d3151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/deps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const getDependencies = (opt, files) => {
2727
'frequencies',
2828
],
2929
routes: [
30-
...(routesWithoutAgencyId ? [] : ['agency']),
30+
...(routesWithoutAgencyId && !files.includes('agency') ? [] : ['agency']),
3131
],
3232
trips: [
3333
'routes',

0 commit comments

Comments
 (0)