Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Commit

Permalink
Respond to PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarlow12 committed Sep 30, 2019
1 parent 6477919 commit 4e1420a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/configService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ export class ConfigService {
private getRuntime(runtime: string): FunctionRuntime {
Guard.null(runtime, "runtime", "Runtime version not specified in serverless.yml");

let versionMatch = runtime.match(/([0-9]+\.)+[0-9]*x?/);
let languageMatch = runtime.match(/nodejs|python/);
const versionMatch = runtime.match(/([0-9]+\.)+[0-9]*x?/);
const languageMatch = runtime.match(/nodejs|python/);

let versionInput: string;
let languageInput: string;
Expand Down

0 comments on commit 4e1420a

Please sign in to comment.