mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
More linting again
This commit is contained in:
parent
77bac9af36
commit
be36811cb3
20 changed files with 68 additions and 75 deletions
|
|
@ -42,7 +42,7 @@ class InvenTreePartCategory extends InvenTreeModel {
|
|||
// TODO - Drive the refactor tractor through this
|
||||
List<String> psplit = pathstring.split("/");
|
||||
|
||||
if (psplit.length > 0) {
|
||||
if (psplit.isNotEmpty) {
|
||||
psplit.removeLast();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue