Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nfour committed Dec 11, 2018
1 parent db07bf4 commit bf5fe76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ServerlessBuildPlugin.ts
Expand Up @@ -5,6 +5,7 @@ import { copy, createWriteStream, emptyDir, ensureDir } from 'fs-extra';
import { clone, isArray, merge } from 'lutils';
import * as path from 'path';
import * as semver from 'semver';

import { defaultConfig, IPluginConfig } from './config';
import { FileBuild } from './FileBuild';
import { Logger } from './lib/Logger';
Expand Down Expand Up @@ -87,7 +88,7 @@ export class ServerlessBuildPlugin {

const functionSelection = this.config.f || this.config.function;

let selectedFunctions = isArray(functionSelection)
let selectedFunctions: string[] = isArray(functionSelection)
? functionSelection
: [functionSelection];

Expand Down

0 comments on commit bf5fe76

Please sign in to comment.