From 263cb581c476cc88b0cafdc0b42e81184f697ad3 Mon Sep 17 00:00:00 2001 From: Rokt33r Date: Sat, 21 Nov 2015 06:37:23 +0900 Subject: [PATCH] =?UTF-8?q?=E9=96=8B=E7=99=BA=E4=B8=AD=E3=81=AE=E3=82=82?= =?UTF-8?q?=E3=81=AE=E3=81=AF=E3=83=87=E3=83=BC=E3=82=BF=E3=82=92=E9=80=81?= =?UTF-8?q?=E3=82=89=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/activityRecord.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/activityRecord.js b/lib/activityRecord.js index 71e61a82..b79e2447 100644 --- a/lib/activityRecord.js +++ b/lib/activityRecord.js @@ -47,6 +47,10 @@ Post all records(except today) and remove all posted records */ export function postRecords (data) { + if (process.env.BOOST_ENV === 'development') { + console.log('post failed - on development') + return + } let records = getAllRecords() records = records.filter(record => { return !isSameDate(new Date(), record.date)