Skip to content

Commit f6a5c0c

Browse files
authored
log releaseBuild.ts (microsoft#189170)
1 parent 9b81a0d commit f6a5c0c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

build/azure-pipelines/common/releaseBuild.js

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/azure-pipelines/common/releaseBuild.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ async function main(force: boolean): Promise<void> {
6767

6868
const [, , force] = process.argv;
6969

70-
main(force === 'true').then(() => {
70+
console.log(process.argv);
71+
72+
main(/^true$/i.test(force)).then(() => {
7173
console.log('Build successfully released');
7274
process.exit(0);
7375
}, err => {

0 commit comments

Comments
 (0)