Skip to content

Commit 2af2102

Browse files
committed
dcos: Update buildBowerRelease script
1 parent 601df2e commit 2af2102

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/scripts/bower-release-build.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const bowerDir = '../../../react-uwp-bower'
1010
const outDirOptions = { cwd: outDir, stdio: 'inherit' }
1111
const bowerDirOptions = { cwd: bowerDir, stdio: 'inherit' }
1212

13-
module.exports = function buildBowerRelease(version) {
13+
function buildBowerRelease(version) {
1414
if (!fs.existsSync(bowerDir)) {
1515
execSync('git clone https://github.com/myxvisual/react-uwp-bower', outDirOptions)
1616
}
@@ -27,3 +27,5 @@ module.exports = function buildBowerRelease(version) {
2727
console.log('bower-release is finished')
2828
}
2929
}
30+
31+
module.exports = buildBowerRelease

0 commit comments

Comments
 (0)