Skip to content

Commit

Permalink
chore(cli): fix lint errors (#2479)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Feb 24, 2020
1 parent 9c589a3 commit f2ff5ab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cli/src/android/update.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Config } from '../config';
import { buildXmlElement, checkPlatformVersions, logFatal, resolveNode, runTask } from '../common';
import { checkPlatformVersions, logFatal, resolveNode, runTask } from '../common';
import { getAndroidPlugins } from './common';
import { checkAndInstallDependencies, handleCordovaPluginsJS, writeCordovaAndroidManifest } from '../cordova';
import { convertToUnixPath, copySync, readFileAsync, removeSync, writeFileAsync} from '../util/fs';
Expand Down
2 changes: 1 addition & 1 deletion cli/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface ExternalConfig {
cordova?: any;
server?: {
cleartext?: boolean;
}
};
}

export interface AppPluginsConfig {
Expand Down
18 changes: 9 additions & 9 deletions cli/src/tasks/new-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { dirname, join } from 'path';
import { isInteractive } from '../util/term';

interface NewPluginAnswers {
name: string
domain: string
className: string
description: string
git: string
author: string
license: string
confirm: boolean
name: string;
domain: string;
className: string;
description: string;
git: string;
author: string;
license: string;
confirm: boolean;
}

export async function newPluginCommand(config: Config) {
Expand All @@ -41,7 +41,7 @@ export async function newPlugin(config: Config) {
return false;
}
return true;
}
};
const answers: NewPluginAnswers = await inquirer.prompt([
{
type: 'input',
Expand Down

0 comments on commit f2ff5ab

Please sign in to comment.