bdy 1.24.1-dev → 1.24.2-dev
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/distTs/package.json
CHANGED
|
@@ -378,10 +378,10 @@ class AgentSystem {
|
|
|
378
378
|
resolve(id);
|
|
379
379
|
});
|
|
380
380
|
});
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
}));
|
|
381
|
+
// One after the other, not Promise.all: on an unknown user both calls fail, and the second
|
|
382
|
+
// one would still be running when the first has already rejected - logging its error long
|
|
383
|
+
// after the caller has been told, into whatever is happening by then
|
|
384
|
+
return read('-u').then((uid) => read('-g').then((gid) => ({ uid, gid })));
|
|
385
385
|
}
|
|
386
386
|
// Opens a path without ever following a symlink at the end of it, so the descriptor is bound
|
|
387
387
|
// to the inode this call meant: whatever the name is pointed at afterwards, an fchmod or
|