Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox committed Feb 27, 2023
1 parent 7e344ab commit 4c36387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: run ${{ join(matrix.*, ' - ') }}
parallel: true

Expand All @@ -105,7 +105,7 @@ jobs:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true
carryforward: "run-1,run-2"
```
Expand Down
8 changes: 1 addition & 7 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40836,13 +40836,7 @@ function run() {
throw new Error("No Lcov path specified.");
}
console.log(`Using lcov file: ${pathToLcov}`);
let file;
try {
file = fs_1.default.readFileSync(pathToLcov, 'utf8');
}
catch (err) {
throw new Error("Lcov file not found.");
}
const file = fs_1.default.readFileSync(pathToLcov, 'utf8');
const basePath = core.getInput('base-path');
const adjustedFile = basePath ? (0, lcov_processor_1.adjustLcovBasePath)(file, basePath) : file;
coveralls.handleInput(adjustedFile, (err, body) => {
Expand Down

0 comments on commit 4c36387

Please sign in to comment.