diff --git a/index.js b/index.js index 3688a0b..e7b0660 100644 --- a/index.js +++ b/index.js @@ -81,7 +81,7 @@ export default class ServerlessOfflineLambdaFunctionUrls { return handler } getFullPath(...args) { - return resolve(cwd(), ...args) + return resolve(cwd(), ...args).replace(/^[A-Z]:/, "").replace(/\\/g, "/") } async init() { const {default: Lambda} = await import(