1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test/red/runtime
btsimonh c8d6693fba fix bug where savesettings did not honor local settings variables (#1073)
* fix bug where savesettings did not honor local settings variables

* don't create lib/flows on read;  It's already created in localfilesystem.init and in saveLibraryEntry -
so removed call to promiseDir, and added a return of [] if accessing a folder which did not exist.
This is important because else when settings.readOnly is true, it still creates folders.

* Fix a CI failure where path passed to getLibraryEntry is empty;
treat this case as meaning it was wanting a folder, and return empty if the folder dioes not exist

* Add a test for getLibraryEntry( type, '/' ) as called by node-red

* change newsettings to camelCase newSettings
2017-01-08 23:00:27 +00:00
..
nodes reimplement $(env var) replace to share common code. 2016-11-17 13:56:17 +00:00
storage fix bug where savesettings did not honor local settings variables (#1073) 2017-01-08 23:00:27 +00:00
events_spec.js Update tests for runtime/api separation 2016-01-06 17:01:11 +00:00
i18n_spec.js Update tests for runtime/api separation 2016-01-06 17:01:11 +00:00
index_spec.js Fix type checking in unit tests 2016-10-10 13:27:43 +01:00
log_spec.js Add log.removeHandler function 2016-10-20 23:31:40 +01:00
settings_spec.js Fix type checking in unit tests 2016-10-10 13:27:43 +01:00
util_spec.js Property expressions must not be blank 2017-01-06 21:58:17 +00:00