Release 1.1.0: экспортировать command_success_from_args в core/common.uc
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fe-app-tachyon",
|
"name": "fe-app-tachyon",
|
||||||
"version": "1.0.9",
|
"version": "1.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -148,6 +148,10 @@ function command_success(command) {
|
|||||||
return command_status("(" + command + ") >/dev/null 2>&1") == 0;
|
return command_status("(" + command + ") >/dev/null 2>&1") == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function command_success_from_args(args) {
|
||||||
|
return command_success(command_from_args(args));
|
||||||
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
as_string,
|
as_string,
|
||||||
read_json_file,
|
read_json_file,
|
||||||
@@ -168,5 +172,6 @@ return {
|
|||||||
shell_quote,
|
shell_quote,
|
||||||
command_from_args,
|
command_from_args,
|
||||||
command_status,
|
command_status,
|
||||||
command_success
|
command_success,
|
||||||
|
command_success_from_args
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user