node-red/red/runtime
Andrey Bezugliy f987fa13ea Resolve dir argument of getLocalNodeFiles function (#1216)
* Resolve dir argument of getLocalNodeFiles function

The getLocalNodeFiles is called 3 times.  Each time it called, the callee needs to resolve the dir argument.
That was not done for several of calls, and local modules (specified in the "nodesDir" setting) were not returned to client because of that.

This fix will allow to make sure the dir is consistently resolved.

* Several changes in "localfilesystem_spec.js":
- Changed checkNodes to verify that every node's file property is resolved, i.e. containst absolute path, not relative.
- Added a unit-test "Finds nodes in settings.nodesDir (string,relative path)"
2017-04-10 15:41:20 +01:00
..
locales/en-US Fix inner reference in install fail message catalog entry 2017-01-17 09:54:17 +00:00
nodes Resolve dir argument of getLocalNodeFiles function (#1216) 2017-04-10 15:41:20 +01:00
storage Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
events.js Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
i18n.js Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
index.js Change hard error to verbose warning if using old node.js level 2017-01-14 23:57:39 +00:00
log.js Log error stack traces if verbose flag is set 2017-03-01 17:00:27 +00:00
settings.js Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00
util.js Update copyright header for JS Foundation 2017-01-11 15:24:33 +00:00