1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

add node-red to project with minor server tolerance.

This commit is contained in:
Dave Conway-Jones 2018-04-06 16:46:54 +01:00
parent 95753ce5cd
commit 3f41036919
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4

View File

@ -394,7 +394,7 @@ RED.projects.settings = (function() {
.appendTo(pane) .appendTo(pane)
.click(function(evt) { .click(function(evt) {
evt.preventDefault(); evt.preventDefault();
activeProject.dependencies["node-red"] = RED.settings.version; activeProject.dependencies["node-red"] = "~"+RED.settings.version;
updateProjectDependencies(activeProject,depsList); updateProjectDependencies(activeProject,depsList);
$(this).hide(); $(this).hide();
}); });