Skip to content

Commit

Permalink
refactor: remove resolve joins in provider envs
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk committed Jul 24, 2022
1 parent 3c92cd4 commit e459110
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
3 changes: 1 addition & 2 deletions src/lambda/LambdaFunction.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { emptyDir, ensureDir, remove } from 'fs-extra'
import jszip from 'jszip'
import HandlerRunner from './handler-runner/index.js'
import LambdaContext from './LambdaContext.js'
import resolveJoins from '../utils/resolveJoins.js'
import {
DEFAULT_LAMBDA_MEMORY_SIZE,
DEFAULT_LAMBDA_RUNTIME,
Expand Down Expand Up @@ -94,7 +93,7 @@ export default class LambdaFunction {
this.#verifySupportedRuntime()

const env = this.#getEnv(
resolveJoins(provider.environment),
provider.environment,
functionDefinition.environment,
handler,
)
Expand Down
29 changes: 0 additions & 29 deletions src/utils/resolveJoins.js

This file was deleted.

0 comments on commit e459110

Please sign in to comment.