Skip to content

Commit

Permalink
update sutting current MOSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsgsDesign committed Apr 1, 2021
1 parent 6804825 commit d556917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor/
/composer.lock
/.vscode
/tests/report
/tests/report
/tests/exec.php
2 changes: 1 addition & 1 deletion src/MOSS.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public function send()
fwrite($socket, "end\n");
fclose($socket);
if($read===false) throw new Exception("Unexpected Error", -1);
return (int)explode('results/', $read)[1];
return trim(explode('results/', $read)[1]);
}
}

Expand Down

0 comments on commit d556917

Please sign in to comment.