mirror of
https://github.com/threeal/cmake-action.git
synced 2025-09-13 19:17:21 +00:00
test: fix lint
Signed-off-by: Alfi Maulana <alfi.maulana.f@gmail.com>
This commit is contained in:
parent
5a50071cde
commit
47bf3df9c7
6
dist/action.mjs
generated
vendored
6
dist/action.mjs
generated
vendored
@ -162,7 +162,7 @@ function getContext() {
|
|||||||
}
|
}
|
||||||
input = getInput("options");
|
input = getInput("options");
|
||||||
if (input) {
|
if (input) {
|
||||||
options.push(...parse(input).map((opt) => opt.toString()));
|
options.push(...parse(input).map((opt) => opt));
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
sourceDir,
|
sourceDir,
|
||||||
@ -170,11 +170,11 @@ function getContext() {
|
|||||||
configure: {
|
configure: {
|
||||||
generator: getInput("generator"),
|
generator: getInput("generator"),
|
||||||
options,
|
options,
|
||||||
args: parse(getInput("args")).map((arg) => arg.toString()),
|
args: parse(getInput("args")).map((arg) => arg),
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
enabled: getInput("run-build") == "true",
|
enabled: getInput("run-build") == "true",
|
||||||
args: parse(getInput("build-args")).map((arg) => arg.toString()),
|
args: parse(getInput("build-args")).map((arg) => arg),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ export function getContext(): Context {
|
|||||||
|
|
||||||
input = getInput("options");
|
input = getInput("options");
|
||||||
if (input) {
|
if (input) {
|
||||||
options.push(...parse(input).map((opt) => opt.toString()));
|
options.push(...parse(input).map((opt) => opt));
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@ -49,11 +49,11 @@ export function getContext(): Context {
|
|||||||
configure: {
|
configure: {
|
||||||
generator: getInput("generator"),
|
generator: getInput("generator"),
|
||||||
options,
|
options,
|
||||||
args: parse(getInput("args")).map((arg) => arg.toString()),
|
args: parse(getInput("args")).map((arg) => arg),
|
||||||
},
|
},
|
||||||
build: {
|
build: {
|
||||||
enabled: getInput("run-build") == "true",
|
enabled: getInput("run-build") == "true",
|
||||||
args: parse(getInput("build-args")).map((arg) => arg.toString()),
|
args: parse(getInput("build-args")).map((arg) => arg),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user