mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
CB-4984 Don't create on CordovaActivity name
This commit is contained in:
parent
ac2034561d
commit
438a8d8b75
@ -149,6 +149,10 @@ exports.createProject = function(project_path, package_name, project_name, proje
|
||||
return Q.reject('Package name must look like: com.company.Name');
|
||||
}
|
||||
|
||||
if (project_name === 'CordovaActivity') {
|
||||
return Q.reject('Project name cannot be CordovaActivity');
|
||||
}
|
||||
|
||||
// Check that requirements are met and proper targets are installed
|
||||
return check_reqs.run()
|
||||
.then(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user