Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit f9db2b7

Browse files
committed
fix: move success log into build function
1 parent 7daaaed commit f9db2b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.js

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ const build = (functionsPath, publishPath) => {
3737
setupHeaders(publishPath);
3838

3939
trackNextOnNetlifyFiles();
40+
41+
logTitle("✅ Success! All done!");
4042
};
4143

4244
const watch = (functionsPath, publishPath) => {

next-on-netlify.js

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
const { program } = require("commander");
33

44
const nextOnNetlify = require("./index");
5-
const { logTitle } = require("./lib/helpers/logger");
65

76
program.option(
87
"--max-log-lines [number]",
@@ -22,7 +21,6 @@ program
2221
.description("runs next-on-netlify")
2322
.action(() => {
2423
nextOnNetlify();
25-
logTitle("✅ Success! All done!");
2624
});
2725

2826
program.parse(process.argv);

0 commit comments

Comments
 (0)