Skip to content

Commit 3a9b527

Browse files
committed
Cleanup debug logs
1 parent 85e51ec commit 3a9b527

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

bin/cmd.js

-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ program
2727
return;
2828
}
2929

30-
console.log(stats.compilation);
3130
stats.compilation.chunks.forEach(function(chunk) {
3231
server.clearCache(chunk.name);
3332
});
@@ -52,5 +51,4 @@ program
5251
});
5352
});
5453

55-
console.log("hmm", process.argv);
5654
program.parse(process.argv);

lib/serve.js

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ exports.listen = function(port) {
7979
return {
8080
clearCache: function(chunk) {
8181
var module = path.join(process.cwd(), dir, chunk);
82-
console.log("Clearing require cache: ", require.resolve(module));
8382
delete require.cache[require.resolve(module)];
8483
}
8584
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "netlify-lambda",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "Build and serve lambda function with webpack compilation",
55
"main": "bin/cmd.js",
66
"bin": {

0 commit comments

Comments
 (0)