Skip to content

Commit

Permalink
Fix stdio in install command (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykoi18 authored Aug 25, 2021
1 parent 1577d4a commit ac16fd6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resolve-gate/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export const main = async (): Promise<void> => {
const token = core.getInput('token', { required: true })
const scopes = parseScopes(core.getInput('framework_scope'))

core.info(`installing resolve-cloud dependency`)
commandExecutor(`npm install resolve-cloud@latest`)

const pkgFile = path.resolve(appDir, './package.json')
const pkg = readPackage(pkgFile)

Expand All @@ -41,6 +38,10 @@ export const main = async (): Promise<void> => {
core.debug(`invalid registry URL: "${registry}"`)
throw Error(error.message)
}

core.info(`installing resolve-cloud dependency`)
commandExecutor(`npm install resolve-cloud@latest`, 'ignore')

writeNpmRc(path.resolve(appDir, '.npmrc'), registryURL, token, {
scopes,
core,
Expand Down

0 comments on commit ac16fd6

Please sign in to comment.