14 lines
270 B
JavaScript
14 lines
270 B
JavaScript
// handler.js
|
|
|
|
exports.handler = async (event) => {
|
|
const cwd = process.cwd(); // Get current working directory
|
|
|
|
return {
|
|
statusCode: 200,
|
|
body: JSON.stringify({
|
|
message: "Current working directory fetched successfully",
|
|
cwd: cwd
|
|
}),
|
|
};
|
|
};
|