gramps-graphql / gramps-cli

CLI for creating and developing with GrAMPS data sources.
https://gramps.js.org/
MIT License
10 stars 7 forks source link

fix: use object destructuring #38

Closed jlengstorf closed 6 years ago

jlengstorf commented 6 years ago

Transpilation fails when using:

import babel from 'babel-core';
/* ... */
babel.transformFileSync(file);

Instead, we need to use:

import { transformFileSync } from 'babel-core';
/* ... */
transformFileSync(file);

Also, semantic-release is misbehaving, so I already published this hotfix. 🤷‍♂️