Skip to content

Commit

Permalink
Fixed lint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwilsonvu committed Aug 19, 2023
1 parent 0073745 commit be7addf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Run build
run: pnpm run build
- name: Lint source code
run: pnpm run lint
run: pnpm run lint --max-warnings=0
- name: Run all tests
run: pnpm run test:all
- name: Sanity check standalone build
Expand Down
10 changes: 5 additions & 5 deletions standalone/mock/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ class AssertionError extends Error {

function fail(actual, expected, message, operator, stackStartFunction) {
throw new AssertionError({
message: message,
actual: actual,
expected: expected,
operator: operator,
stackStartFunction: stackStartFunction,
message,
actual,
expected,
operator,
stackStartFunction,
});
}

Expand Down
20 changes: 10 additions & 10 deletions standalone/mock/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,16 @@ export function extname(path) {
export const posix = { dirname };

export default {
extname: extname,
basename: basename,
dirname: dirname,
sep: sep,
delimiter: delimiter,
relative: relative,
join: join,
isAbsolute: isAbsolute,
normalize: normalize,
resolve: resolve,
extname,
basename,
dirname,
sep,
delimiter,
relative,
join,
isAbsolute,
normalize,
resolve,
posix: { dirname },
};

Expand Down

0 comments on commit be7addf

Please sign in to comment.