Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Newline when importing multiple members breaks deploy #962

Closed
richardkall opened this issue Oct 20, 2017 · 1 comment
Closed

Newline when importing multiple members breaks deploy #962

richardkall opened this issue Oct 20, 2017 · 1 comment
Milestone

Comments

@richardkall
Copy link
Contributor

richardkall commented Oct 20, 2017

When importing multiple items in a function, this works:

const { A, B, C } = require('../myFile');

This does not work:

const {
  A,
  B,
  C
} = require('../myFile');

Error:

graphcool deploy
 ▸    Cannot read property 'startsWith' of undefined
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants