Skip to content

Commit

Permalink
Merge pull request #11719 from autofix-bot/autofix-trailing-spaces-cd…
Browse files Browse the repository at this point in the history
…25d2

Autofix: trailing-spaces
  • Loading branch information
kamilmysliwiec authored Jun 12, 2023
2 parents efa9909 + 3a6016c commit 4b4d12e
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
attributes:
value: |
## :warning: We use GitHub Issues to track bug reports, feature requests and regressions
If you are not sure that your issue is a bug, you could:
- read the [FAQ's common errors](https://docs.nestjs.com/faq/common-errors) page
Expand Down
4 changes: 2 additions & 2 deletions packages/core/metadata-scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class MetadataScanner {
private readonly cachedScannedPrototypes: Map<object, string[]> = new Map();

/**
* @deprecated
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/
Expand Down Expand Up @@ -62,7 +62,7 @@ export class MetadataScanner {
}

/**
* @deprecated
* @deprecated
* @see {@link getAllMethodNames}
* @see getAllMethodNames
*/
Expand Down
16 changes: 8 additions & 8 deletions packages/core/test/errors/test/messages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Error Messages', () => {
it('should display class', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatService (?, CatService). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand All @@ -39,7 +39,7 @@ describe('Error Messages', () => {
it('should display the provide token', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatService (?, MY_TOKEN). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand All @@ -60,7 +60,7 @@ describe('Error Messages', () => {
it('should display the function name', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatService (?, CatFunction). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand All @@ -81,7 +81,7 @@ describe('Error Messages', () => {
it('should use "+" if unknown dependency name', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatService (?, +). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand All @@ -102,7 +102,7 @@ describe('Error Messages', () => {
it('should display the module name', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatService (?, MY_TOKEN). Please make sure that the argument dependency at index [0] is available in the TestModule context.
Potential solutions:
- Is TestModule a valid NestJS module?
- If dependency is a provider, is it part of the current TestModule?
Expand Down Expand Up @@ -136,7 +136,7 @@ describe('Error Messages', () => {
it('should display the symbol name of the provider', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the Symbol(CatProvider) (?). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand All @@ -157,7 +157,7 @@ describe('Error Messages', () => {
it('should display the symbol dependency of the provider', () => {
const expectedResult =
stringCleaner(`Nest can't resolve dependencies of the CatProvider (?, Symbol(DogProvider)). Please make sure that the argument dependency at index [0] is available in the current context.
Potential solutions:
- If dependency is a provider, is it part of the current Module?
- If dependency is exported from a separate @Module, is that module imported within Module?
Expand Down Expand Up @@ -201,7 +201,7 @@ Scope [AppModule -> CatsModule]`);
it('should display the module name with the invalid index and scope', () => {
const expectedMessage =
stringCleaner(`Nest cannot create the CatsModule instance.
Received an unexpected value at index [0] of the CatsModule "imports" array.
Received an unexpected value at index [0] of the CatsModule "imports" array.
Scope [AppModule -> CatsModule]`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CorsOptions } from '@nestjs/common/interfaces/external/cors-options.int

/**
* External interface
* @see https://github.com/socketio/socket.io/blob/master/lib/index.ts
* @see https://github.com/socketio/socket.io/blob/master/lib/index.ts
* @publicApi
*/
export interface GatewayMetadata {
Expand Down
6 changes: 3 additions & 3 deletions readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
<p align="center">用于构建高效且可扩展的服务器端应用程序的渐进式 <a href="http://nodejs.cn" target="blank">Node.js</a> 框架,深受 <a href="https://angular.cn" target="_blank">Angular</a> 的启发。</p>

<p align="center">用于构建高效且可扩展的服务器端应用程序的渐进式 <a href="http://nodejs.cn" target="blank">Node.js</a> 框架,深受 <a href="https://angular.cn" target="_blank">Angular</a> 的启发。</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a>
Expand Down Expand Up @@ -46,7 +46,7 @@ QQ群:277386223
QQ群:336289049
QQ群:489719517

> 注意:这个交流群不是 NestJS 官方支持和维护的,只是为了方便国内开发者交流而建立的。
> 注意:这个交流群不是 NestJS 官方支持和维护的,只是为了方便国内开发者交流而建立的。
> (Note: This channel is not officially supported and maintained by the NestJS org members.)
## 赞助商
Expand Down
2 changes: 1 addition & 1 deletion sample/25-dynamic-modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications, heavily inspired by <a href="https://angular.io" target="blank">Angular</a>.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
Expand Down
2 changes: 1 addition & 1 deletion sample/26-queues/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications, heavily inspired by <a href="https://angular.io" target="blank">Angular</a>.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
Expand Down
2 changes: 1 addition & 1 deletion sample/27-scheduling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications, heavily inspired by <a href="https://angular.io" target="blank">Angular</a>.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
Expand Down
2 changes: 1 addition & 1 deletion sample/28-sse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

<p align="center">A progressive <a href="http://nodejs.org" target="blank">Node.js</a> framework for building efficient and scalable server-side applications, heavily inspired by <a href="https://angular.io" target="blank">Angular</a>.</p>
<p align="center">
<a href="https://www.npmjs.com/~nestjscore"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a>
Expand Down

0 comments on commit 4b4d12e

Please sign in to comment.