Skip to content

Commit

Permalink
♻️ refactoring
Browse files Browse the repository at this point in the history
  adjust to latest env
  • Loading branch information
jeffy-g committed Oct 4, 2023
1 parent c389b41 commit ce1330d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -60,6 +60,6 @@ jobs:
resource_class: large

workflows:
build-and-test:
flows:
jobs:
- build-and-test
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Build, Bench, Tests
name: Node.js CI

on:
push:
Expand All @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [16.x, 18.x]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Expand Up @@ -25,9 +25,9 @@ const throwTypeError = () => {
};
/**
* @param {TRemoveCStyleCommentsOpt} [opt]
* @param {any} [e]
* @param {unknown} [e]
*/
const handleError = (opt?: TRemoveCStyleCommentsOpt, e?: any) => {
const handleError = (opt?: TRemoveCStyleCommentsOpt, e?: unknown) => {
if (opt) {
console.warn(
"\n[Exception occurred] source will be returned without processing",
Expand Down

0 comments on commit ce1330d

Please sign in to comment.