Skip to content

Commit

Permalink
Resolve after cleanup, see phetsims/perennial#268
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed Nov 24, 2022
1 parent 2dfa75f commit 070bca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/phet-io/generatePhetioMacroAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ const generatePhetioMacroAPI = async ( repos, options ) => {

const fullAPI = messageText;

await cleanup();
resolve( {

// to keep track of which repo this is for
Expand All @@ -120,7 +121,6 @@ const generatePhetioMacroAPI = async ( repos, options ) => {
// For machine readability
api: JSON.parse( fullAPI )
} );
await cleanup();
}

else if ( msg.type() === 'error' ) {
Expand Down

0 comments on commit 070bca4

Please sign in to comment.