@toptal/davinci-ci 2.0.5-alpha-SP-2753-add-danger-file-command-option.16 → 2.0.5-alpha-SP-2753-add-danger-file-command-option.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-ci",
3
- "version": "2.0.5-alpha-SP-2753-add-danger-file-command-option.16+a3ebeace",
3
+ "version": "2.0.5-alpha-SP-2753-add-danger-file-command-option.17+4c9e919a",
4
4
  "description": "Continuos integrations tools for frontend projects",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -32,9 +32,9 @@
32
32
  "dependencies": {
33
33
  "@commitlint/cli": "^17.0.2",
34
34
  "@commitlint/config-conventional": "^17.0.2",
35
- "@toptal/davinci-cli-shared": "1.5.5-alpha-SP-2753-add-danger-file-command-option.16+a3ebeace",
35
+ "@toptal/davinci-cli-shared": "1.5.5-alpha-SP-2753-add-danger-file-command-option.17+4c9e919a",
36
36
  "danger": "^11.0.5",
37
37
  "markdown-table": "^2.0.0"
38
38
  },
39
- "gitHead": "a3ebeace4542e507f889c87c381fde285708103a"
39
+ "gitHead": "4c9e919a813918f0137a305a4bf5ae04436fe0cd"
40
40
  }
@@ -21,7 +21,9 @@ const commandOptions = [
21
21
  },
22
22
  ]
23
23
 
24
- const dangerCommand = ({ options }) => {
24
+ const dangerCommand = args => {
25
+ const { options } = args
26
+
25
27
  print.green('Running danger check...')
26
28
 
27
29
  const { local, dangerfile, ...rest } = options
@@ -37,6 +39,9 @@ const dangerCommand = ({ options }) => {
37
39
 
38
40
  let dangerfilePath = dangerfile
39
41
 
42
+ print.green('Display args')
43
+ print.green(args)
44
+
40
45
  print.green(`Display danger file dangerfilePath -- : ${dangerfilePath}`)
41
46
 
42
47
  if (!dangerfilePath) {