removed a lingering reference to the old 'result' export

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2022-03-15 09:40:35 +01:00
parent 8ed8e26247
commit a13f70dc89
@@ -471,6 +471,7 @@ We also provide a high-level example of what a catalog process for a custom
entity might look like:
```ts
import { CatalogProcessor, processingResult } from '@backstage/catalog-backend';
import { entityKindSchemaValidator } from '@backstage/catalog-model';
export class FoobarEntitiesProcessor implements CatalogProcessor {
@@ -506,7 +507,7 @@ export class FoobarEntitiesProcessor implements CatalogProcessor {
// Here we can modify the entity or emit results related to the entity
// Typically you will want to emit any relations associated with the entity here
emit(results.relation({ ... }))
emit(processingResult.relation({ ... }))
}
return entity;