PointTypes other than Straight don’t work
```
let sketch = require('sketch')
let document = sketch.getSelectedDocument()
let page = document.selectedPage

page.layers = []

let Artboard = sketch.Artboard
let myArtboard = new Artboard({
  frame: { x: 0, y: 0, width: 48, height: 48 },
  parent: page
})

var point1 = {
    pointType: 'CurvePoint',
    curveFrom: { x: 0, y: 0 },
    curveTo: { x: 0, y: 2 },
    point: { x: 0, y: 1 },
    pointType: 'Disconnected'
}
var point2 = {
    pointType: 'CurvePoint',
    curveFrom: { x: 1, y: 0 },
    curveTo: { x: 1, y: 0 },
    point: { x: 1, y: 0 },
    pointType: 'Straight'
}

let ShapePath = sketch.ShapePath
let path = new ShapePath({
  type: ShapePath.ShapeType.Custom,
  points: [point1, point2],
  frame: { x: 0, y: 0, width: 48, height: 48 },
  style: { fills: [], borders: ['#FF0000']},
  frame: { x: 0, y: 0, width: 48, height: 48 },
  parent: myArtboard,
  closed: false
})
```

You’ll notice that a line is drawn and not a curve. If you go into the “edit mode” of the path and select the bottom left path, you will see that the correct PathType is selected (“Disconnected”). Selecting the disconnected option will result in the correct path being rendered.

![Apr-27-2019 20-05-45](https://user-images.githubusercontent.com/4199296/56857943-e51c7800-6927-11e9-84de-e2c43e503b76.gif)
