Skip to content

Commit

Permalink
Merge pull request #881 from FokkeZB/IP-353
Browse files Browse the repository at this point in the history
fix(cli) Write bulkReads to separate files
  • Loading branch information
eliangcs authored Oct 10, 2024
2 parents c7278e1 + 2cf7a2e commit babcaf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/src/utils/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ const renderIndex = async (appDefinition) => {
triggers: 'Trigger',
creates: 'Create',
searches: 'Search',
bulkReads: 'BulkRead',
},
(importNameSuffix, stepType) => {
_.each(appDefinition[stepType], (definition, key) => {
Expand Down Expand Up @@ -380,7 +381,7 @@ const convertApp = async (appInfo, appDefinition, newAppDir) => {

const promises = [];

['triggers', 'creates', 'searches'].forEach((stepType) => {
['triggers', 'creates', 'searches', 'bulkReads'].forEach((stepType) => {
_.each(appDefinition[stepType], (definition, key) => {
promises.push(
writeStep(stepType, definition, key, newAppDir),
Expand Down

0 comments on commit babcaf4

Please sign in to comment.