Skip to content

Commit

Permalink
build: ensure lib sub-dir is created and resolve lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 11, 2023
1 parent 9a90bd6 commit a930c68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/run_tests_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ main() {
if [ "$top_level_report" = true ]; then
mkdir -p "artifacts/${pkg}" && cp -r "reports/coverage/lcov-report"/* "artifacts/${pkg}/"
else
mkdir -p "artifacts/${pkg}" && cp -r "reports/coverage/lcov-report/${pkg}/lib"/* "artifacts/${pkg}/lib/"
mkdir -p "artifacts/${pkg}/lib/" && cp -r "reports/coverage/lcov-report/${pkg}/lib"/* "artifacts/${pkg}/lib/"
fi

# Cleanup coverage reports for next package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ interface Options {
* var fcn = factory( opts );
* // returns <Function>
*/
declare function fmtprodmsgFactory( options?: Options ): FormatProdErrorMsgFunction;

declare function fmtprodmsgFactory( options?: Options ): FormatProdErrorMsgFunction; // tslint-disable-line max-line-length


// EXPORTS //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ import currentYear = require( './index' );
currentYear( true ); // $ExpectError
currentYear( [], 123 ); // $ExpectError
}

1 comment on commit a930c68

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
error/tools/fmtprodmsg-factory $\color{green}225/225$
$\color{green}+100.00\%$
$\color{green}19/19$
$\color{green}+100.00\%$
$\color{green}4/4$
$\color{green}+100.00\%$
$\color{green}225/225$
$\color{green}+100.00\%$
time/current-year $\color{green}80/80$
$\color{green}+100.00\%$
$\color{green}3/3$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}80/80$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.