mirror of
https://github.com/sern-handler/handler
synced 2026-07-05 14:09:39 +00:00
more refactoring
This commit is contained in:
@@ -45,7 +45,8 @@ export function callPlugin(args: unknown): OperatorFunction<PluginExecutable, Vo
|
||||
});
|
||||
}
|
||||
|
||||
export const arrayifySource = <T>(src: T) => (Array.isArray(src) ? (src as unknown[]) : [src]);
|
||||
export const arrayifySource = <T>(src: T) =>
|
||||
Array.isArray(src) ? src : [src];
|
||||
|
||||
/**
|
||||
* Checks if the stream of results is all ok.
|
||||
|
||||
Reference in New Issue
Block a user