node 10 compatibility on 4.7.x

I started getting maxBuffer errors the second I switched versions. This
fixes that.
On Aug 27, 2014 11:21 AM, "Steve Hackbarth" <notifications@github.com>
wrote:

> In scripts/lib/util/init_database.js:
>
> > @@ -35,21 +35,29 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
> >          var schemaPath = path.join(path.dirname(spec.source), "440_schema.sql");
> >          winston.info("Building schema for database " + databaseName);
> >
> > -        exec("psql -U " + creds.username + " -h " + creds.hostname + " --single-transaction -p " +
> > -          creds.port + " -d " + databaseName + " -f " + schemaPath,
> > -          {maxBuffer: 40000 * 1024 /* 200x default */}, done);
> > +        var process = proc.spawn('psql', [
>
> Is this necessary for node 10 or is it an unrelated improvement?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/xtuple/xtuple/pull/1787/files#r16782070>.
>