Skip to content

Commit

Permalink
fix: output entrypoint code without verbose mode (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
jthegedus authored Sep 16, 2021
1 parent 61f2b3b commit 305ae73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ const entrypoint = function (options = {}) {

try {
if (!readFileSync(ssrFunc.entrypoint, 'utf-8').includes(`${functions.name} =`)) {
utils.log.info(`Add the following Cloud Function to ${ssrFunc.entrypoint}`);
utils.log.info(`
utils.log.warn(`Add the following Cloud Function to ${ssrFunc.entrypoint}`);
utils.log.warn(`
let ${ssrFunc.svelteSSR};
exports.${functions.name} = functions.region("us-central1").https.onRequest(async (request, response) => {
if (!${ssrFunc.svelteSSR}) {
Expand Down

0 comments on commit 305ae73

Please sign in to comment.