Darren Schnare

Results 35 comments of Darren Schnare
trafficstars

@squarewav My problem came from me creating the source stream, then running some async code (awaiting) before I piped the source to the transforms and destination stream. My guess is...

@squarewav Ok. After changing the order my async operations I thought I was out of the dark, but the fundamental problem still remains; Transfrom classes DO NOT emit the `drain`...

Here's an updated version of `pushWithBackpressure` that does work as expected: ```js const { Duplex } = require('stream') /** * Pushes one or more chunks to a stream stream while...

@squarewav I couldn't have done this without your help. Thanks, just wish there was a better way to go about this.

I actually can't find `regeneratorRuntime` defined anywhere in the compiled/generated files.

I resolved this by finding that `babel-polyfill` is actually required to be pre-required first. **See:** https://stackoverflow.com/questions/33527653/babel-6-regeneratorruntime-is-not-defined-with-async-await#33527883 **Workaround:** ``` node -r ts-node/require -r babel-polyfill some-module-that-uses-git-repository ``` This should be capable of...

How you might fix this is depending on `regenerator-runtime`. ``` npm install regenerator-runtime -S ``` Then in src/Repository.js ``` /** * Copyright © 2015 Konstantin Tarkus. All rights reserved. *...

I tried investigating the source, and the `runOne()` function (defined in the command-line namespace) seems to have a `extraOptions.loadDotEnvFiles: boolean` it accepts, but I tried hardcoding it to false and...

Narrowed it down to two methods `ForkedProcessTaskRunner#getDotenvVariablesForForkedProcess` and `ForkedProcessTaskRunner#getDotenvVariablesForTask`. However, I tried hardcoding those methods to each return `{}` and the root .env file is still loaded. My test so...

Got it. PR incoming.