All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit dc358822 authored by David Johnson's avatar David Johnson

off by one...

parent 6573a6f2
......@@ -294,12 +294,12 @@ function parseDatum(datum,type) {
function parseAndBuild(data) {
var retval = {};
var lines = data.split("\n");
if (lines.length < 2) {
if (lines.length < 3) {
// there was an error
if (lines.length == 0) {
error("no data in response from server");
}
else if (lines.length == 1) {
else if (lines.length > 0) {
error(lines[0]);
}
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment