Skip to content

Commit de7ba0f

Browse files
committed
chore: refactor based on PR feedback
1 parent 8f0f56e commit de7ba0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/helpers/functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export const setupImageFunction = async ({
149149

150150
await copyFile(join(__dirname, '..', '..', 'lib', 'templates', 'ipx.js'), join(functionDirectory, functionName))
151151
writeFunctionConfiguration({
152-
functionName: functionName.replace('.js', ''),
152+
functionName: IMAGE_FUNCTION_NAME,
153153
functionTitle: IMAGE_FUNCTION_TITLE,
154154
functionsDir: functionsPath,
155155
})

0 commit comments

Comments
 (0)