netlify-cli 14.2.0 → 14.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.1",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "14.2.
|
|
9
|
+
"version": "14.2.1",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -3,6 +3,8 @@ import { dirname, join } from 'path'
|
|
|
3
3
|
import process, { version as nodejsVersion } from 'process'
|
|
4
4
|
import { fileURLToPath } from 'url'
|
|
5
5
|
|
|
6
|
+
import { isCI } from 'ci-info'
|
|
7
|
+
|
|
6
8
|
import execa from '../execa.mjs'
|
|
7
9
|
import getGlobalConfig from '../get-global-config.mjs'
|
|
8
10
|
|
|
@@ -19,6 +21,10 @@ const dirPath = dirname(fileURLToPath(import.meta.url))
|
|
|
19
21
|
* @returns {Promise<void>}
|
|
20
22
|
*/
|
|
21
23
|
export const reportError = async function (error, config = {}) {
|
|
24
|
+
if (isCI) {
|
|
25
|
+
return
|
|
26
|
+
}
|
|
27
|
+
|
|
22
28
|
const globalConfig = await getGlobalConfig()
|
|
23
29
|
|
|
24
30
|
const options = JSON.stringify({
|