Skip to content

Commit

Permalink
fix(environment): rename DEBUG into CI_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri Kopriwa committed Oct 9, 2019
1 parent 26e2a27 commit 3357693
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ You can deploy test result to public sonarcloud.

| Environment variable | Description |
|----------------------|------------------------------------------------------|
| `DEBUG` | Set this variable to activate debug log |
| `CI_DEBUG` | Set this variable to activate debug log |
| `SONAR_TOKEN` | token to be used |
| `LCOV_INFO_PATH` | the `lcov.info` path (Default: `coverage/lcov.info`) |

Expand Down
2 changes: 1 addition & 1 deletion src/cli/tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import execa from 'execa';

describe('CLI', () => {
it('CLI should show help', async () => {
const { stdout: help } = await execa.shell(`node_modules/.bin/babel-node ${path.join(__dirname, '../index')} --help`);
const { stdout: help } = await execa(`node_modules/.bin/babel-node ${path.join(__dirname, '../index')} --help`, { shell: true });
expect(help).toContain('--version');
});
});
2 changes: 1 addition & 1 deletion src/test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

[ -v DEBUG ] && set -x
[ -v CI_DEBUG ] && set -x

set -e

Expand Down

0 comments on commit 3357693

Please sign in to comment.