Skip to content

Commit 805365c

Browse files
committed
refactor: clean up
1 parent 89543ce commit 805365c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/actor-memory-expression/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@apify/actor-memory-expression",
33
"version": "0.0.1",
4-
"description": "Mathematical and numerical utility functions.",
4+
"description": "Utility to evaluate dynamic memory expressions for Apify actors.",
55
"main": "./dist/cjs/index.cjs",
66
"module": "./dist/esm/index.mjs",
77
"typings": "./dist/cjs/index.d.ts",

packages/actor-memory-expression/src/memory_calculator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const roundToClosestPowerOf2 = (num: number): number => {
131131
* Replaces all `{{variable}}` placeholders in an expression into direct
132132
* property access (e.g. `{{runOptions.memoryMbytes}}` → `runOptions.memoryMbytes`).
133133
*
134-
* All `input.*` values are accepted, while `runOptions.*` are validated (only 7 variables - ALLOWED_RUN_OPTION_KEYS).
134+
* All `input.*` values are accepted, while `runOptions.*` are validated (7 variables from ALLOWED_RUN_OPTION_KEYS).
135135
*
136136
* Note: this approach allows developers to use a consistent double-brace
137137
* syntax `{{runOptions.timeoutSecs}}` across the platform.

0 commit comments

Comments
 (0)