Skip to content

Commit 984146b

Browse files
committed
add basic logic
1 parent 686f472 commit 984146b

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
exports.printMsg = function() {
2-
console.log("This is a message from the demo package");
3-
}
1+
exports.printMsg = function({
2+
dir = "functions"
3+
}) {
4+
console.log(dir);
5+
}
46

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "netlify-functions-api-docs",
33
"version": "1.0.0",
44
"description": "",
5-
"repository": "netlify-functions-api-docs",
5+
"repository": "https://github.com/raulcr98/netlify-functions-api-docs.git",
66
"main": "index.js",
77
"scripts": {
88
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)