webapps.mason: fixes
parent
9b6db6b0e3
commit
04d1bbb0ca
|
@ -9,7 +9,7 @@ IN: webapps.mason.docs-update
|
|||
: update-docs ( -- )
|
||||
home [
|
||||
"newdocs" make-directory
|
||||
"newdocs" [ { "tar" "xvf" "../docs.tar.gz" } try-process ] with-directory
|
||||
"newdocs" [ { "tar" "xfz" "../docs.tar.gz" } try-process ] with-directory
|
||||
|
||||
"docs" exists? [ "docs" "docs.old" move-file ] when
|
||||
"newdocs/docs" "docs" move-file
|
||||
|
|
|
@ -56,7 +56,6 @@ IN: webapps.mason.status-update
|
|||
{ "message" [ v-one-line ] }
|
||||
{ "arg" [ [ v-one-line ] v-optional ] }
|
||||
{ "report" [ ] }
|
||||
{ "secret" [ v-one-line ] }
|
||||
} validate-params
|
||||
|
||||
validate-secret
|
||||
|
|
|
@ -56,5 +56,6 @@ IN: webapps.mason.utils
|
|||
adjust-url ;
|
||||
|
||||
: validate-secret ( -- )
|
||||
{ { "secret" [ v-one-line ] } } validate-params
|
||||
"secret" value status-secret get =
|
||||
[ validation-failed ] unless ;
|
||||
|
|
Loading…
Reference in New Issue