Commit 747ad8c 1 parent 8d9881c commit 747ad8c Copy full SHA for 747ad8c
File tree 4 files changed +8
-8
lines changed
__tests__/test-utils/mocks
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export default class MockTestComponentUniqueName {
6
6
}
7
7
8
8
render ( ) {
9
- < div />
9
+ return < div />
10
10
}
11
11
}
12
12
13
- uuid . v4 ( )
13
+ console . log ( uuid . v4 ( ) )
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ commander
109
109
log ( `:rocket: ${ tag } deploy finished!! :tada: :confetti_ball: :tada:` )
110
110
. then ( ( ) => process . exit ( 0 ) ) )
111
111
. catch ( ( err ) =>
112
- log ( `:rotating_light: *error deploying ${ tag } ${ err . message || err } *` )
112
+ log ( `:rotating_light: *error deploying ${ tag } ${ err . message } *` )
113
113
. then ( ( ) => process . exit ( 1 ) ) )
114
114
} )
115
115
} )
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ function upload ({
56
56
s3object
57
57
. upload ( )
58
58
. send ( function ( err ) {
59
- if ( err ) return reject ( `s3 upload to ${ bucket } rejected with ${ err . message } ` )
59
+ if ( err ) return reject ( new Error ( `s3 upload to ${ bucket } rejected with ${ err . message } ` ) )
60
60
log ( `:ok_hand: ${ tag } finished pushing to <${ bucketUrl } /${ outfile } |${ bucket } /${ outfile } >` ) . then ( ( ) => {
61
61
if ( cloudfront ) {
62
62
const cf = new AWS . CloudFront ( )
@@ -73,7 +73,7 @@ function upload ({
73
73
}
74
74
}
75
75
} , function ( err ) {
76
- if ( err ) return reject ( `cf invalidation rejected with ${ err . message } ` )
76
+ if ( err ) return reject ( new Error ( `cf invalidation rejected with ${ err . message } ` ) )
77
77
done ( )
78
78
} )
79
79
} )
Original file line number Diff line number Diff line change @@ -2178,9 +2178,9 @@ eslint-config-standard-jsx@^3.3.0:
2178
2178
version "3.3.0"
2179
2179
resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-3.3.0.tgz#cab0801a15a360bf63facb97ab22fbdd88d8a5e0"
2180
2180
2181
- eslint-config-standard@^6.2.1 :
2182
- version "6.2.1 "
2183
- resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-6.2.1 .tgz#d3a68aafc7191639e7ee441e7348739026354292 "
2181
+ eslint-config-standard@^7.0.0 :
2182
+ version "7.0.0 "
2183
+ resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-7.0.0 .tgz#4f161bc65695e4bc61331c55b9eeaca458cd99c6 "
2184
2184
2185
2185
eslint-plugin-flowtype-errors@^3.0.0 :
2186
2186
version "3.0.0"
You can’t perform that action at this time.
0 commit comments