Commit 8f9d820
Fix NullPointerException when no file name is given
This change ensures that Copybara handles cases where the configuration path
provided on the command line does not have a filename (e.g., the root directory
'/'), preventing a `java.lang.NullPointerException` from `Path.getFileName().toString()`.
BUG=485259576
GWSQ_IGNORE: chriscampos@google.com
PiperOrigin-RevId: 883360034
Change-Id: I5c413e51943b572029aef9b72d4679400a8a9dfe1 parent 27ded66 commit 8f9d820
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
417 | | - | |
| 417 | + | |
| 418 | + | |
418 | 419 | | |
419 | | - | |
| 420 | + | |
420 | 421 | | |
421 | | - | |
| 422 | + | |
| 423 | + | |
422 | 424 | | |
423 | 425 | | |
424 | 426 | | |
| |||
0 commit comments