Skip to content

Commit

Permalink
docs(generic): fix option variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 4, 2017
1 parent 9c118a4 commit 0923ac1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/api/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const d = debug('electron-forge:import');
* - Sets up `git` and the correct NPM dependencies
* - Adds a template forge config to `package.json`
*
* @param {ImportOptions} options - Options for the import method
* @param {ImportOptions} providedOptions - Options for the import method
* @return {Promise} Will resolve when the import process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const d = debug('electron-forge:init');
/**
* Initialize a new Electron Forge template project in the given directory.
*
* @param {InitOptions} options - Options for the init method
* @param {InitOptions} providedOptions - Options for the init method
* @return {Promise} Will resolve when the initialization process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const GITHUB_API = 'https://api.github.com';
/**
* Install an Electron application from GitHub. If you leave interactive as `false`, you MUST provide a `chooseAsset` function.
*
* @param {InstallOptions} options - Options for the install method
* @param {InstallOptions} providedOptions - Options for the install method
* @return {Promise} Will resolve when the install process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const d = debug('electron-forge:lint');
* The promise will be rejected with the stdout+stderr of the linting process if linting fails or
* will be resolved if it succeeds.
*
* @param {LintOptions} options - Options for the Lint method
* @param {LintOptions} providedOptions - Options for the Lint method
* @return {Promise<null, string>} Will resolve when the lint process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import packager from './package';
/**
* Make distributables for an Electron application.
*
* @param {MakeOptions} options - Options for the make method
* @param {MakeOptions} providedOptions - Options for the make method
* @return {Promise} Will resolve when the make process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import resolveDir from '../util/resolve-dir';
/**
* Package an Electron application into an platform dependent format.
*
* @param {PackageOptions} options - Options for the Package method
* @param {PackageOptions} providedOptions - Options for the Package method
* @return {Promise} Will resolve when the package process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import make from './make';
/**
* Publish an Electron application into the given target service.
*
* @param {PublishOptions} options - Options for the Publish method
* @param {PublishOptions} providedOptions - Options for the Publish method
* @return {Promise} Will resolve when the publish process is complete
*/
export default async (providedOptions = {}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/api/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import resolveDir from '../util/resolve-dir';
/**
* Start an Electron application.
*
* @param {StartOptions} options - Options for the Publish method
* @param {StartOptions} providedOptions - Options for the Publish method
* @return {Promise} Will resolve when the application is launched
*/
export default async (providedOptions = {}) => {
Expand Down

0 comments on commit 0923ac1

Please sign in to comment.