@molecule/api-ai-tools 1.17.8 → 1.17.9
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/dist/utilities.js +1 -1
- package/package.json +1 -1
package/dist/utilities.js
CHANGED
|
@@ -2784,7 +2784,7 @@ export function runningLogReadCommand(log, own) {
|
|
|
2784
2784
|
* read did not run, so nothing may be said about the log).
|
|
2785
2785
|
*/
|
|
2786
2786
|
export function parseRunningLogRead(stdout) {
|
|
2787
|
-
const sized =
|
|
2787
|
+
const sized = /^[\t ]*(\d+)[\t ]*\r?\n/.exec(stdout);
|
|
2788
2788
|
if (sized === null)
|
|
2789
2789
|
return null;
|
|
2790
2790
|
return { text: stdout.slice(sized[0].length), bytes: Number(sized[1]) };
|