Skip to content

Commit

Permalink
Internal: Merge the 2nd and 3rd arguments passed to tools.shExec. [sk…
Browse files Browse the repository at this point in the history
…ip ci]
  • Loading branch information
pomek committed Jun 5, 2023
1 parent 74928b4 commit a54ae4a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions scripts/release/utils/buildckeditor5buildscallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = async function buildCKEditor5BuildsCallback( packagePath ) {

return tools.shExec( 'yarn run build', {
cwd: packagePath,
verbosity: 'error'
}, { async: true } );
verbosity: 'error',
async: true
} );
};
5 changes: 3 additions & 2 deletions scripts/release/utils/compiletypescriptcallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ module.exports = async function compileTypeScriptCallback( packagePath ) {

return tools.shExec( 'yarn run build', {
cwd: packagePath,
verbosity: 'error'
}, { async: true } );
verbosity: 'error',
async: true
} );

/**
* @param {String} packagePath
Expand Down
5 changes: 3 additions & 2 deletions scripts/release/utils/preparedllbuildscallback.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ module.exports = function prepareDllBuildsCallback( packagePath ) {

return tools.shExec( 'yarn run dll:build', {
cwd: packagePath,
verbosity: 'error'
}, { async: true } );
verbosity: 'error',
async: true
} );

function isDllPackage() {
return 'dll:build' in ( packageJson.scripts || {} );
Expand Down

0 comments on commit a54ae4a

Please sign in to comment.