File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -660,7 +660,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
660
660
private validatePackageName ( packageName : string ) : void {
661
661
//Make the package conform to Java package types
662
662
//Enforce underscore limitation
663
- if ( ! / ^ [ a - z A - Z ] + ( \. [ a - z A - Z 0 - 9 ] [ a - z A - Z 0 - 9 _ ] * ) + $ / . test ( packageName ) ) {
663
+ if ( ! / ^ [ a - z A - Z ] + ( \. [ a - z A - Z 0 - 9 ] [ a - z A - Z 0 - 9 _ ] * ) + $ / . test ( packageName ) ) {
664
664
this . $errors . fail ( "Package name must look like: com.company.Name" ) ;
665
665
}
666
666
@@ -676,7 +676,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
676
676
}
677
677
678
678
//Classes in Java don't begin with numbers
679
- if ( / ^ [ 0 - 9 ] / . test ( projectName ) ) {
679
+ if ( / ^ [ 0 - 9 ] / . test ( projectName ) ) {
680
680
this . $errors . fail ( "Project name must not begin with a number" ) ;
681
681
}
682
682
}
You can’t perform that action at this time.
0 commit comments