Skip to content

Commit 7ec2287

Browse files
committed
chore(style): format
1 parent ea244ea commit 7ec2287

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

src/bundling.ts

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import type { BundlingOptions, ICommandHooks } from './types';
1616

1717
export const HASHABLE_DEPENDENCIES_EXCLUDE = [
1818
'*.pyc',
19-
"cdk/**",
20-
".git/**",
21-
".venv/**",
19+
'cdk/**',
20+
'.git/**',
21+
'.venv/**',
2222
];
2323

2424
export const DEFAULT_ASSET_EXCLUDES = [
@@ -71,7 +71,7 @@ export interface BundlingProps extends BundlingOptions {
7171
/**
7272
* Glob patterns to exclude from asset hash fingerprinting used for source change
7373
* detection
74-
*
74+
*
7575
* @default HASHABLE_DEPENDENCIES_EXCLUDE
7676
*/
7777
readonly hashableAssetExclude?: string[];
@@ -82,7 +82,10 @@ export interface BundlingProps extends BundlingOptions {
8282
*/
8383
export class Bundling {
8484
public static bundle(options: BundlingProps): AssetCode {
85-
const { hashableAssetExclude = HASHABLE_DEPENDENCIES_EXCLUDE, ...bundlingOptions } = options;
85+
const {
86+
hashableAssetExclude = HASHABLE_DEPENDENCIES_EXCLUDE,
87+
...bundlingOptions
88+
} = options;
8689
return Code.fromAsset(options.rootDir, {
8790
assetHashType: AssetHashType.SOURCE,
8891
exclude: hashableAssetExclude,
@@ -114,13 +117,13 @@ export class Bundling {
114117
const bundlingCommands = props.skip
115118
? []
116119
: this.createBundlingCommands({
117-
rootDir,
118-
workspacePackage,
119-
assetExcludes,
120-
commandHooks,
121-
inputDir: AssetStaging.BUNDLING_INPUT_DIR,
122-
outputDir: AssetStaging.BUNDLING_OUTPUT_DIR,
123-
});
120+
rootDir,
121+
workspacePackage,
122+
assetExcludes,
123+
commandHooks,
124+
inputDir: AssetStaging.BUNDLING_INPUT_DIR,
125+
outputDir: AssetStaging.BUNDLING_OUTPUT_DIR,
126+
});
124127

125128
this.image = image ?? this.createDockerImage(props);
126129

0 commit comments

Comments
 (0)