Skip to content

Commit

Permalink
spelling: than
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
  • Loading branch information
jsoref committed Jan 4, 2023
1 parent 29f19f8 commit df6cc4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -8,7 +8,7 @@ export class LinesLengthCloneValidator implements ICloneValidator {

return {
status,
message: status ? ['ok'] : [`Lines of code less then limit (${lines} < ${options.minLines})`],
message: status ? ['ok'] : [`Lines of code less than limit (${lines} < ${options.minLines})`],
};
}

Expand Down
2 changes: 1 addition & 1 deletion packages/jscpd/__tests__/options.test.ts
Expand Up @@ -85,7 +85,7 @@ describe('jscpd options', () => {
});

describe('min lines', () => {
it('should skip clone if it is length less then min lines option', async () => {
it('should skip clone if it is length less than min lines option', async () => {
const clones: IClone[] = await jscpd(['', '', fileWithClones, '--min-lines', '20']);
expect(clones.length).to.equal(0);
});
Expand Down

0 comments on commit df6cc4f

Please sign in to comment.