[Pkg-javascript-commits] [node-module-deps] 54/444: ignore errors resolving transform modules
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:47:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-module-deps.
commit 78cdf92254c2b91cc67abf305be09fab48109854
Author: James Halliday <mail at substack.net>
Date: Wed Feb 27 22:13:47 2013 -0800
ignore errors resolving transform modules
---
index.js | 3 ++-
package.json | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index d33ab6c..c537f11 100644
--- a/index.js
+++ b/index.js
@@ -131,7 +131,8 @@ module.exports = function (mains, opts) {
var params = { basedir: path.dirname(file) };
nodeResolve(tr, params, function (err, res) {
- if (err) return output.emit('error', err);
+ if (err) return cb(through());
+
if (!res) return output.emit('error', [
'cannot find transform module ', tr,
' while transforming ', file
diff --git a/package.json b/package.json
index e6e0aca..efba79d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "module-deps",
- "version": "0.4.3",
+ "version": "0.4.4",
"description": "walk the dependency graph to generate json output that can be fed into browser-pack",
"main": "index.js",
"bin": {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git
More information about the Pkg-javascript-commits
mailing list