Skip to content

Commit 4cab2e6

Browse files
committed
refactor: clean up
1 parent 5ad13ac commit 4cab2e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/actor/calculate-memory.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const DEFAULT_INPUT_PATH = join(getLocalKeyValueStorePath('default'), 'INPUT.jso
1414

1515
/**
1616
* This command can be used to test dynamic memory calculation expressions
17-
* defined in actor.json or provided via command-line flags.
17+
* defined in actor.json or provided via command-line flag.
1818
*
1919
* Dynamic memory allows Actors to adjust their memory usage based on input data
2020
* and run options, optimizing resource allocation and costs.
@@ -75,7 +75,6 @@ export class ActorCalculateMemoryCommand extends ApifyCommand<typeof ActorCalcul
7575
);
7676
}
7777

78-
// Let's not check for input existence here, as the expression might not use it at all.
7978
const inputPath = resolve(process.cwd(), this.flags.input);
8079
const inputJson = getJsonFileContent(inputPath) ?? {};
8180

0 commit comments

Comments
 (0)