Unverified Commit 3dfcf495 authored by Bradley Hilton's avatar Bradley Hilton Committed by GitHub

Fix invalid syntax submit command

This is what I get for cheating and trying to commit via the web ui 馃槀
parent 3776974c
......@@ -8,6 +8,7 @@ import * as inquirer from 'inquirer';
import fetch from 'node-fetch';
import { Response } from 'node-fetch';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler/definition';
import { AppCompiler, AppPackager, FolderDetails, VariousUtils } from '../misc';
import { CloudAuth } from '../misc/cloudAuth';
......@@ -40,7 +41,7 @@ export default class Submit extends Command {
const compiler = new AppCompiler(fd);
const report = await compiler.compile();
const result = await compiler.compile();
if (result.diagnostics.length) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment