File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 45
45
"typescript" : " ^3.5.3"
46
46
},
47
47
"scripts" : {
48
- "install:examples" : " loop \" yarn install --force --check-files\" --cwd ./examples" ,
48
+ "install:examples" : " loop \" yarn install --force --check-files\" --cwd ./examples --exit-on-aggregate-error " ,
49
49
"build:config" : " cd services/config && yarn build" ,
50
- "build:services" : " yarn build:config && loop \" yarn build\" --cwd ./services --exclude config" ,
50
+ "build:services" : " yarn build:config && loop \" yarn build\" --cwd ./services --exclude config --exit-on-error " ,
51
51
"build:runtime" : " cd runtime && yarn build" ,
52
52
"build" : " yarn build:services && yarn build:runtime && yarn install:examples" ,
53
- "test:services" : " loop \" yarn test\" --cwd ./services" ,
53
+ "test:services" : " loop \" yarn test\" --cwd ./services --exit-on-error " ,
54
54
"test:runtime" : " cd runtime && yarn test" ,
55
55
"test" : " yarn test:services && yarn test:runtime" ,
56
56
"format" : " d2-style js apply --all --no-stage" ,
57
57
"start" : " yarn build && cd examples/cra && yarn start"
58
58
},
59
59
"version" : " 1.4.3"
60
- }
60
+ }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import { ContextType } from '../types/Context'
11
11
const reduceResponses = ( responses : any [ ] , names : string [ ] ) =>
12
12
responses . reduce ( ( out , response , idx ) => {
13
13
out [ names [ idx ] ] = response
14
+ return out
14
15
} , { } )
15
16
16
17
const fetchData = (
You can’t perform that action at this time.
0 commit comments