You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2022/05/02 15:26:16 UTC

[whimsy] branch master updated: Oops, wrong location

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new d89330b3 Oops, wrong location
d89330b3 is described below

commit d89330b3c4abf18a5c0acea34e50bf203328b9d1
Author: Sebb <se...@apache.org>
AuthorDate: Mon May 2 16:26:07 2022 +0100

    Oops, wrong location
---
 tools/render-page.js | 2 +-
 tools/scan-page.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/render-page.js b/tools/render-page.js
index 1694daef..bb9c5315 100755
--- a/tools/render-page.js
+++ b/tools/render-page.js
@@ -2,7 +2,7 @@
 
 // @(#) render a page that uses Javascript
 
-module.paths.push('/usr/local/lib/node_modules')
+module.paths.push('/usr/lib/node_modules')
 
 const puppeteer = require('puppeteer');
 
diff --git a/tools/scan-page.js b/tools/scan-page.js
index 90bd94c7..811b082c 100755
--- a/tools/scan-page.js
+++ b/tools/scan-page.js
@@ -2,7 +2,7 @@
 
 // @(#) extract non-ASF links when loading a page
 
-module.paths.push('/usr/local/lib/node_modules')
+module.paths.push('/usr/lib/node_modules')
 
 const puppeteer = require('puppeteer');