mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
Formatting fixes
This commit is contained in:
parent
a356ecf9b6
commit
9455d438e2
@ -141,13 +141,17 @@ export function getApplication(applicationName: string) {
|
||||
const extraOptions = {
|
||||
$expand: {
|
||||
application_type: {
|
||||
$select: [ 'name', 'slug', 'supports_multicontainer', 'is_legacy' ],
|
||||
$select: ['name', 'slug', 'supports_multicontainer', 'is_legacy'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
if (match) {
|
||||
return resin.models.application.getAppByOwner(match[2], match[1], extraOptions);
|
||||
return resin.models.application.getAppByOwner(
|
||||
match[2],
|
||||
match[1],
|
||||
extraOptions,
|
||||
);
|
||||
}
|
||||
|
||||
return resin.models.application.get(applicationName, extraOptions);
|
||||
|
Loading…
x
Reference in New Issue
Block a user