mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Detect the cloning of an empty git repo properly
This commit is contained in:
@@ -666,6 +666,10 @@ RED.projects = (function() {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
},
|
||||
'missing_package_file': function(error) {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
},
|
||||
'project_empty': function(error) {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
@@ -1565,6 +1569,10 @@ RED.projects = (function() {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
},
|
||||
'missing_package_file': function(error) {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
},
|
||||
'project_empty': function(error) {
|
||||
// This is handled via a runtime notification.
|
||||
dialog.dialog("close");
|
||||
|
Reference in New Issue
Block a user