ensure flux function gets added when no cursor

pull/5116/head
Iris Scholten 2019-03-15 17:30:04 -07:00
parent 93fa456e5b
commit b712ec765b
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ interface State {
class FluxQueryMaker extends PureComponent<Props, State> {
private debouncer: Debouncer = new DefaultDebouncer()
private getAST = restartable(getAST)
private cursorPosition: Position
private cursorPosition: Position = {line: 0, ch: 0}
public constructor(props: Props) {
super(props)