Skip to content

Commit

Permalink
PR deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
kpears201 committed Nov 10, 2023
1 parent dd46914 commit 9d4ad3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { readFile, writeFile } from 'fs/promises'
import path from 'path'
import { exec } from 'child_process'
import { exec, execSync } from 'child_process'

process.argv.shift()
process.argv.shift()
Expand Down Expand Up @@ -96,8 +96,8 @@ else if (task === 'validate') {
})
if (matches.length > 0) {
console.log('Setting package version to ' + matches[0])
exec("npm version " + matches[0])
exec("npm version " + matches[0] + " --workspaces")
console.log(execSync("npm version " + matches[0]))
console.log(execSync("npm version " + matches[0] + " --workspaces"))
return matches[0]
}
return null
Expand Down

0 comments on commit 9d4ad3a

Please sign in to comment.