Skip to content

Commit add0117

Browse files
committed
ci(ui-scripts,ui-tray): try to fix CI
1 parent 7cd885a commit add0117

File tree

1 file changed

+2
-4
lines changed
  • packages/ui-scripts/lib/utils

1 file changed

+2
-4
lines changed

packages/ui-scripts/lib/utils/npm.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ const syncRootPackageVersion = async (useProjectVersion) => {
4242
console.log('\n\nDEBUG LOG syncRootPackageVersion 1: start')
4343
const project = new Project(process.cwd())
4444
console.log('\n\nDEBUG LOG syncRootPackageVersion 2: project')
45-
console.log(project)
4645
const rootPkg = pkgUtils.getPackage()
4746
console.log('\n\nDEBUG LOG syncRootPackageVersion 3: getPackage')
48-
console.log(rootPkg)
4947
console.log('---------\n\n')
5048

5149
let projectVersion
@@ -91,7 +89,7 @@ export async function bumpPackages(packageName, requestedVersion) {
9189
info(`📦 Bumping ${packageName} packages and generating changelogs...`)
9290

9391
let releaseVersion
94-
console.log('\n\nDEBUG LOG 0.01: before info', args.join(' '))
92+
console.log('\n\nDEBUG LOG 0.01: before info. args:', args.join(' '))
9593
try {
9694
// native process run
9795
const cmdArgs = [
@@ -106,7 +104,7 @@ export async function bumpPackages(packageName, requestedVersion) {
106104
'--loglevel=silly'
107105
]
108106
await new Promise((resolve, reject) => {
109-
spawn('lerna', cmdArgs, { shell: true, stdio: 'inherit' })
107+
spawn('lerna', cmdArgs) // TODO hangs here
110108
.on('close', (code) =>
111109
code === 0 ? resolve() : reject(new Error(`Exit code: ${code}`))
112110
)

0 commit comments

Comments
 (0)