Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
69925ce8
Commit
69925ce8
authored
Nov 12, 2016
by
neilpang
Browse files
fix shellcheck warnings.
parent
e9f9f515
Changes
2
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
69925ce8
...
...
@@ -189,7 +189,7 @@ _rest() {
_H4
=
"Content-Type: application/json"
if
[
"
$data
"
]
;
then
response
=
"
$(
_post
"
$data
"
"
$url
"
""
$m
)
"
response
=
"
$(
_post
"
$data
"
"
$url
"
""
"
$m
"
)
"
else
response
=
"
$(
_get
"
$url
"
)
"
fi
...
...
dnsapi/dns_gd.sh
View file @
69925ce8
...
...
@@ -102,7 +102,7 @@ _gd_rest() {
if
[
"
$data
"
]
;
then
_debug data
"
$data
"
response
=
"
$(
_post
"
$data
"
"
$GD_Api
/
$ep
"
""
$m
)
"
response
=
"
$(
_post
"
$data
"
"
$GD_Api
/
$ep
"
""
"
$m
"
)
"
else
response
=
"
$(
_get
"
$GD_Api
/
$ep
"
)
"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment