From 6b307cd52c1cf1aa2323ef21f9d1678fc035f635 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Fri, 14 Jun 2013 19:19:08 -0400 Subject: [PATCH] preen-script - we can't use load() because we don't know mongo shell pwd() at server run-time --- migrations/preen_cron.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/migrations/preen_cron.js b/migrations/preen_cron.js index 8696bee78f..d17f241c5c 100644 --- a/migrations/preen_cron.js +++ b/migrations/preen_cron.js @@ -1,11 +1,9 @@ /** * Set this up as a midnight cron script * - * mongo habitrpg migrations/preen_cron.js + * mongo habitrpg ./node_modules/moment/moment.js migrations/preen_cron.js */ -load('./node_modules/moment/moment.js'); - /* Users are allowed to experiment with the site before registering. Every time a new browser visits habitrpg, a new "staged" account is created - and if the user later registeres, that staged account is considered a "production" account.