chore: fix build

This commit is contained in:
Emanuele Stoppa 2023-09-05 10:45:17 +01:00
parent a58cc96091
commit 966bc2ca0e

View file

@ -21,7 +21,7 @@ export async function copyDependenciesToFunction(
cache: object
): Promise<{ handler: string }> {
const entryPath = fileURLToPath(entry);
logger.info(`Bundling function ${relative(fileURLToPath(outDir), entryPath)}`);
logger.info(`Bundling function ${relativePath(fileURLToPath(outDir), entryPath)}`);
// Get root of folder of the system (like C:\ on Windows or / on Linux)
let base = entry;