File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,11 @@ module.exports = {
9595 const output = api . resolveOutputPath ( argv . output ) ;
9696 return mkdirp ( output ) . then ( ( ) =>
9797 Promise . all ( jobs . map ( job => {
98- const name = ( ( ! argv . id && job . externalId ) || job . id ) + '.json' ;
98+ const name = ( ( ! argv . id && job . externalId ) || job . id ) ;
99+
100+ if ( ! name . endsWith ( '.json' ) ) {
101+ name = name + '.json' ;
102+ }
99103
100104 return fs . writeFileAsync ( path . join ( output , name ) , JSON . stringify ( argv . strip ? job . payload : job ) ) ;
101105 } ) )
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const Promise = require('bluebird');
44const request = Promise . promisify ( require ( 'request' ) ) ;
55
66const REQUEST_RETRY_COUNT = 5 ;
7- const RETRY_TIMEOUT_MS = 60000 ;
7+ const RETRY_TIMEOUT_MS = 30000 ;
88const REQUEST_TIMEOUT_MS = 60000 ;
99
1010function rejectDelay ( ) {
You can’t perform that action at this time.
0 commit comments