@toptal/davinci-ci 7.4.3-alpha-fix-danger-check-does-not-throw-errors-be106b77.2 → 7.4.4-alpha-fx-5433-stylelint-support-75105eda.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.4.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2405](https://github.com/toptal/davinci/pull/2405) [`5daf4e1f`](https://github.com/toptal/davinci/commit/5daf4e1f90dd11ea48bc9730ea454aa468ee0922) Thanks [@dmaklygin](https://github.com/dmaklygin)!
8
+ - fix danger-ci check
9
+
3
10
  ## 7.4.2
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-ci",
3
- "version": "7.4.3-alpha-fix-danger-check-does-not-throw-errors-be106b77.2+be106b77",
3
+ "version": "7.4.4-alpha-fx-5433-stylelint-support-75105eda.0+75105eda",
4
4
  "keywords": [
5
5
  "ci",
6
6
  "docker",
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "@commitlint/cli": "^17.6.7",
32
32
  "@commitlint/config-conventional": "^17.1.0",
33
- "@toptal/davinci-cli-shared": "2.5.1-alpha-fix-danger-check-does-not-throw-errors-be106b77.5+be106b77",
33
+ "@toptal/davinci-cli-shared": "2.5.1-alpha-fx-5433-stylelint-support-75105eda.7+75105eda",
34
34
  "chalk": "^4.1.2",
35
35
  "danger": "^11.2.2",
36
36
  "markdown-table": "^2.0.0"
@@ -41,5 +41,5 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "be106b7700bfab8565d95e88daebedb6db0f5d16"
44
+ "gitHead": "75105edaf571dfdc7100f72476bc064f272e06e3"
45
45
  }
@@ -3,7 +3,7 @@ import {
3
3
  print,
4
4
  convertToCLIParameters,
5
5
  files,
6
- $,
6
+ runSync,
7
7
  echo,
8
8
  chalk,
9
9
  } from '@toptal/davinci-cli-shared'
@@ -32,7 +32,16 @@ export const dangerCommand = async options => {
32
32
  const extraArgs = convertToCLIParameters(rest)
33
33
 
34
34
  // We use --base origin/master in case local master is not up to date, or diverging from remote
35
- await $`danger ${scope} --dangerfile ${dangerfilePath} --base origin/master ${extraArgs}`
35
+ runSync(
36
+ 'danger',
37
+ [
38
+ scope,
39
+ local ? '--failOnErrors' : undefined,
40
+ '--dangerfile',
41
+ `${dangerfilePath}`,
42
+ ...extraArgs,
43
+ ].filter(Boolean)
44
+ )
36
45
  }
37
46
 
38
47
  export const createDangerCommand = program => {