Skip to content

Commit

Permalink
fix: lambdas are now produced with posix paths only (projen#1235)
Browse files Browse the repository at this point in the history
Fixes projen#1234
---
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
  • Loading branch information
misterjoshua authored Nov 18, 2021
1 parent 773dbd7 commit 3b7105f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/awscdk/lambda-function.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { basename, dirname, extname, join, relative } from 'path';
import * as path from 'path';
import { pascal } from 'case';
import { Eslint, Project } from '..';
import { Component } from '../component';
Expand All @@ -7,6 +7,8 @@ import { Bundler, BundlingOptions } from '../javascript/bundler';
import { SourceCode } from '../source-code';
import { TYPESCRIPT_LAMBDA_EXT } from './internal';

const { basename, dirname, extname, join, relative } = path.posix;

/**
* Common options for `LambdaFunction`. Applies to all functions in
* auto-discovery.
Expand Down

0 comments on commit 3b7105f

Please sign in to comment.