src/main/js/api/gh.js
Function ghRelease
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ghRelease = async (pkg) => {
const {ghBasicAuth: basicAuth, ghToken, ghAssets} = pkg.config
if (!ghToken) return null
log({pkg})('create gh release')