Skip to content

Commit 8f57be3

Browse files
test123456789012345lgaticaq
authored andcommitted
fix: return undefined instead of nothing
1 parent 843eb63 commit 8f57be3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/publish.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = async (pluginConfig, ctx) => {
2222
}
2323
const command = `export VERSION=${ctx.nextRelease.version};\n${pluginConfig.publishCmd}`
2424
await exec(command, options)
25+
return undefined
2526
} catch (err) {
2627
ctx.message = err.message
2728
throw getError('ESSHCOMMAND', ctx)

0 commit comments

Comments
 (0)