Skip to content

Commit 5f390ac

Browse files
authored
Merge pull request #160 from parthlambdatest/Dot-3923
removed upload figma from the scope
2 parents 1ad210e + 78900f6 commit 5f390ac

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/commander/uploadFigma.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ command
1919
.argument('<file>', 'figma design config file')
2020
.option('--markBaseline', 'Mark the uploaded images as baseline')
2121
.option('--buildName <buildName>' , 'Name of the build')
22-
.option('--fetch-results [filename]', 'Fetch results and optionally specify an output file, e.g., <filename>.json')
2322
.action(async function(file, _, command) {
2423
let ctx: Context = ctxInit(command.optsWithGlobals());
2524

src/tasks/uploadFigmaDesigns.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@ import { captureScreenshots } from '../lib/screenshot.js'
44
import chalk from 'chalk';
55
import { updateLogContext } from '../lib/logger.js'
66
import uploadFigmaDesigns from '../lib/uploadFigmaDesigns.js';
7-
import { startPolling } from '../lib/utils.js';
87

98
export default (ctx: Context): ListrTask<Context, ListrRendererFactory, ListrRendererFactory> => {
109
return {
1110
title: 'Uploading Figma Designs',
1211
task: async (ctx, task): Promise<void> => {
1312
try {
1413
ctx.task = task;
15-
if (ctx.options.fetchResults) {
16-
startPolling(ctx, task);
17-
}
1814
updateLogContext({task: 'upload-figma'});
1915

2016
let results = await uploadFigmaDesigns(ctx);

0 commit comments

Comments
 (0)