eprolo-cli 1.0.57 → 1.0.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/eprolo-cli.js +1 -3
- package/package.json +1 -1
package/bin/eprolo-cli.js
CHANGED
|
@@ -111,9 +111,7 @@ async function postJsonWithRetry(url, body, config) {
|
|
|
111
111
|
err.response = refreshRes.data;
|
|
112
112
|
throw err;
|
|
113
113
|
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
if (result.code !== 0) {
|
|
114
|
+
}else if (result.code !== 0) {
|
|
117
115
|
const err = new Error(`HTTP ${result.statusCode}`);
|
|
118
116
|
err.response = result.data;
|
|
119
117
|
throw err;
|
package/package.json
CHANGED