remove // from refreshKeys
Signed-off-by: Kiss Miklos <miklos@roadie.io>
This commit is contained in:
@@ -89,7 +89,7 @@ describe('FileReaderProcessor', () => {
|
||||
type: 'file',
|
||||
target: expect.stringMatching(/^[^*]*$/),
|
||||
});
|
||||
expect(emit.mock.calls[1][0].key).toContain('file://');
|
||||
expect(emit.mock.calls[1][0].key).toContain('file:');
|
||||
expect(emit.mock.calls[1][0].key).toContain(
|
||||
'fileReaderProcessor/component.yaml',
|
||||
);
|
||||
|
||||
@@ -66,7 +66,7 @@ export class FileReaderProcessor implements CatalogProcessor {
|
||||
emit(parseResult);
|
||||
emit(
|
||||
processingResult.refresh(
|
||||
`${LOCATION_TYPE}://${normalizedFilePath}`,
|
||||
`${LOCATION_TYPE}:${normalizedFilePath}`,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user