diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index bed1ff8d..2069491c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,13 +29,11 @@ jobs: - language: javascript-typescript build-mode: none identifier: 'source' - paths: - - './src' - - './lib' - # - language: javascript-typescript - # build-mode: none - # identifier: 'bundled' - # root: './lib' + root: './src ./lib' + - language: javascript-typescript + build-mode: none + identifier: 'bundled' + root: './lib' steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/src/long.ts b/src/long.ts index 07b2b2db..da90b25b 100644 --- a/src/long.ts +++ b/src/long.ts @@ -677,6 +677,9 @@ export class Long extends BSONValue { res = Long.UZERO; } + // @ts-expect-error asdf + let long = Long(0, 4); + // Repeat the following until the remainder is less than other: find a // floating-point that approximates remainder / other *from below*, add this // into the result, and subtract it from the remainder. It is critical that