UNPKG

@pipedream/platerecognizer

Version:

Pipedream Plate Recognizer Components

7 lines (6 loc) 135 B
export const checkTmp = (filename) => { if (!filename.startsWith("/tmp")) { return `/tmp/${filename}`; } return filename; };