it should be all async or all sync
On Thu, May 25, 2017 at 1:12 PM, Anthony Di Franco <di.franco(a)gmail.com> wrote:
Why is this script doing anything asynchronously in
the first place?
Were you suggesting that this behavior is unavoidable in node? (WTF?)
On Thu, May 25, 2017 at 11:57 AM Jake <jake(a)spaz.org> wrote:
> there is a bad bug in the script we use to add keycards to the access
> system, called grant_access_to_last_attempt.js
> that script should make the filesystem read-write before attempting to add
> record, but since it's written in node, there is no sequentiality to it at
> and the dinosaurs coexist with the humans like in The Flintstones and
> gets done.
> I asked Corey for help and he made some changes to the script but it
> work. If anyone wants to fix this it would be a good idea.
> Presently, when someone tries to use this script to add someone to the
> system, it asks all the questions and lets you fill them in and then it
> You have to run rwroot to make the filesystem writeable and try again,
> in everything again.
> and then it leaves the filesystem in a writeable state, because people
> the warning on the prompt saying to run roroot to put it back, and
> it will ruin the disk on the front door computer.
> here is the github pull request, that didn't work.
> access mailing list