We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbcdc96 commit 09f2894Copy full SHA for 09f2894
1 file changed
src/commands/run.ts
@@ -424,14 +424,7 @@ export class RunCommand extends ApifyCommand<typeof RunCommand> {
424
* @param inputOverride Optional input received through command flags
425
*/
426
private async validateAndStoreInput(inputOverride?: { input: Record<string, unknown>; source: string }) {
427
- let inputSchema: Record<string, unknown> | null | undefined;
428
-
429
- try {
430
- ({ inputSchema } = await readInputSchema({ cwd: process.cwd() }));
431
- } catch (err) {
432
- warning({ message: (err as Error).message });
433
- inputSchema = null;
434
- }
+ const { inputSchema } = await readInputSchema({ cwd: process.cwd() });
435
436
if (!inputSchema) {
437
if (!inputOverride) {
0 commit comments