@sentry/cli
Advanced tools
Comparing version 1.41.2 to 1.42.0
# Changelog | ||
## sentry-cli 1.42.0 | ||
* Add support for Indexed RAM Bundles (#523) | ||
* Add "silent" option to JS constructor (#512) | ||
## sentry-cli 1.41.2 | ||
@@ -4,0 +9,0 @@ |
@@ -130,5 +130,6 @@ 'use strict'; | ||
* @param {boolean} live We inherit stdio to display `sentry-cli` output directly. | ||
* @param {boolean} silent Disable stdout for silents build (CI/Webpack Stats, ...) | ||
* @returns {Promise.<string>} A promise that resolves to the standard output. | ||
*/ | ||
function execute(args, live) { | ||
function execute(args, live, silent) { | ||
const env = Object.assign({}, process.env); | ||
@@ -139,3 +140,3 @@ return new Promise((resolve, reject) => { | ||
env, | ||
stdio: 'inherit', | ||
stdio: ['inherit', silent ? 'pipe' : 'inherit', 'inherit'], | ||
}); | ||
@@ -142,0 +143,0 @@ pid.on('exit', () => { |
@@ -29,7 +29,9 @@ 'use strict'; | ||
* @param {string} [configFile] Relative or absolute path to the configuration file. | ||
* @param {Object} [options] More options to pass to the CLI | ||
*/ | ||
constructor(configFile) { | ||
constructor(configFile, options) { | ||
if (typeof configFile === 'string') { | ||
process.env.SENTRY_PROPERTIES = configFile; | ||
} | ||
this.options = options || { silent: false }; | ||
} | ||
@@ -60,3 +62,3 @@ | ||
execute(args, live) { | ||
return helper.execute(args, live); | ||
return helper.execute(args, live, this.options.silent); | ||
} | ||
@@ -63,0 +65,0 @@ } |
{ | ||
"name": "@sentry/cli", | ||
"version": "1.41.2", | ||
"version": "1.42.0", | ||
"description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46568
507