Skip to content

Commit b8c125c

Browse files
committed
style: Update bower build script
1 parent 07c4ae5 commit b8c125c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/scripts/bower-release-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function buildBowerRelease(version) {
2020
const isExistVersion = logs.includes(version)
2121
if (!isExistVersion) {
2222
try {
23-
execSync(`git add -A && git commit --allow-empty -m ${(version && version.slice(1)) || 'Update bower files'} && git tag ${version} && git push origin --tags`, bowerDirOptions)
23+
execSync(`git add -A && git commit --allow-empty -m ${(version) || 'Update bower files'} && git tag ${version} && git push origin --tags`, bowerDirOptions)
2424
} catch (err) {
2525
console.error(err)
2626
}

0 commit comments

Comments
 (0)