Skip to content

Commit 759dc40

Browse files
chore: undo temp var
1 parent c2f5ac9 commit 759dc40

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/deploy.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export async function buildComponentSet(opts: Partial<DeployOptions>, stl?: Sour
8787
return cs;
8888
}
8989

90-
const x = await ComponentSetBuilder.build({
90+
return ComponentSetBuilder.build({
9191
apiversion: opts['api-version'],
9292
sourceapiversion: await getSourceApiVersion(),
9393
sourcepath: opts['source-dir'],
@@ -104,7 +104,6 @@ export async function buildComponentSet(opts: Partial<DeployOptions>, stl?: Sour
104104
...(opts.metadata ? { metadata: { metadataEntries: opts.metadata, directoryPaths: await getPackageDirs() } } : {}),
105105
projectDir: stl?.projectPath,
106106
});
107-
return x;
108107
}
109108

110109
export async function executeDeploy(

0 commit comments

Comments
 (0)