Fix attribute name
Fixing attribute name in presets to align with the followed convention.
This commit is contained in:
1 parent
14e0e95da5
commit
600f8a8eed
2 files changed
+3
-3
No files matched your search
@@ -24,7 +24,7 @@ const getDownloadUrl = memoize(filter => {
|
||||
Events: "events",
|
||||
Precondition: "precondition",
|
||||
Provision: "provision",
|
||||
Arguments: "provision_args"
|
||||
Arguments: "provisionArgs"
|
||||
})
|
||||
})}`;
|
||||
});
|
||||
@@ -116,7 +116,7 @@ function renderTable(
|
||||
m("a", { href: devicesUrl }, preset["precondition"])
|
||||
),
|
||||
m("td", preset["provision"]),
|
||||
m("td", preset["provision_args"])
|
||||
m("td", preset["provisionArgs"])
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -440,7 +440,7 @@ function flattenPreset(preset) {
|
||||
)
|
||||
throw new Error("Invalid preset provision");
|
||||
p.provision = provision.name;
|
||||
p.provision_args =
|
||||
p.provisionArgs =
|
||||
provision.args && provision.args.length
|
||||
? `"${provision.args.join('" "')}"`
|
||||
: "";
|
||||
|
||||
Reference in new issue
Block a user