Skip to content

Commit e299716

Browse files
committedOct 21, 2021
fix(ci-cd): fix prettier
1 parent e9307c7 commit e299716

5 files changed

+10
-16
lines changed
 

‎.cz-config.js

+4-8
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ module.exports = {
55
{value: 'docs', name: 'docs: Documentation only changes'},
66
{
77
value: 'style',
8-
name:
9-
'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)',
8+
name: 'style: Changes that do not affect the meaning of the code\n (white-space, formatting, missing semi-colons, etc)',
109
},
1110
{
1211
value: 'refactor',
13-
name:
14-
'refactor: A code change that neither fixes a bug nor adds a feature',
12+
name: 'refactor: A code change that neither fixes a bug nor adds a feature',
1513
},
1614
{
1715
value: 'perf',
@@ -20,8 +18,7 @@ module.exports = {
2018
{value: 'test', name: 'test: Adding missing tests'},
2119
{
2220
value: 'chore',
23-
name:
24-
'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation',
21+
name: 'chore: Changes to the build process or auxiliary tools\n and libraries such as documentation generation',
2522
},
2623
{value: 'revert', name: 'revert: Reverting a commit'},
2724
{value: 'WIP', name: 'WIP: Work in progress'},
@@ -46,8 +43,7 @@ module.exports = {
4643
// used if allowCustomScopes is true
4744
customScope: 'Mention the SCOPE of this change:',
4845
subject: 'Write a SHORT, IMPERATIVE tense description of the change:\n',
49-
body:
50-
'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
46+
body: 'Provide a LONGER description of the change (optional). Use "|" to break new line:\n',
5147
breaking: 'List any BREAKING CHANGES (optional):\n',
5248
footer:
5349
'List any ISSUES CLOSED by this change (optional). E.g.: #31, #34:\n',

‎src/__tests__/unit/default-transaction-soft-crud.repository.base.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -512,9 +512,8 @@ describe('DefaultTransactionSoftCrudRepository', () => {
512512
} catch (e) {
513513
expect(e.message).to.be.equal('EntityNotFound');
514514
}
515-
const afterDeleteIncludeSoftDeleted = await repo.findByIdIncludeSoftDelete(
516-
1,
517-
);
515+
const afterDeleteIncludeSoftDeleted =
516+
await repo.findByIdIncludeSoftDelete(1);
518517
expect(afterDeleteIncludeSoftDeleted)
519518
.to.have.property('email')
520519
.equal('john@example.com');

‎src/__tests__/unit/soft-crud.repository.unit.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,8 @@ describe('SoftCrudRepository', () => {
509509
} catch (e) {
510510
expect(e.message).to.be.equal('EntityNotFound');
511511
}
512-
const afterDeleteIncludeSoftDeleted = await repo.findByIdIncludeSoftDelete(
513-
1,
514-
);
512+
const afterDeleteIncludeSoftDeleted =
513+
await repo.findByIdIncludeSoftDelete(1);
515514
expect(afterDeleteIncludeSoftDeleted)
516515
.to.have.property('email')
517516
.equal('john@example.com');

‎src/repositories/default-transaction-soft-crud.repository.base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {ErrorKeys} from '../error-keys';
2020
export abstract class DefaultTransactionSoftCrudRepository<
2121
T extends SoftDeleteEntity,
2222
ID,
23-
Relations extends object = {}
23+
Relations extends object = {},
2424
> extends DefaultTransactionalRepository<T, ID, Relations> {
2525
constructor(
2626
entityClass: typeof Entity & {

‎src/repositories/soft-crud.repository.base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {SoftDeleteEntity} from '../models';
2121
export abstract class SoftCrudRepository<
2222
T extends SoftDeleteEntity,
2323
ID,
24-
Relations extends object = {}
24+
Relations extends object = {},
2525
> extends DefaultCrudRepository<T, ID, Relations> {
2626
constructor(
2727
entityClass: typeof Entity & {

0 commit comments

Comments
 (0)
Please sign in to comment.