Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"husky": "^9.1.7",
"lint-staged": "^17.5.1",
"mock-stdin": "^1.0.0",
"oxfmt": "0.73.0",
"oxfmt": "0.74.0",
"oxlint": "1.88.0",
"oxlint-tsgolint": "0.22.1",
"rimraf": "~6.1.3",
Expand Down
162 changes: 81 additions & 81 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion scripts/documentation-renderer/doc-building.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ export async function renderDocs(categories: Record<string, CommandsInCategory[]
}

if (templateFile.includes(startString) && !templateFile.includes(endString)) {
throw new Error(`Category ${category} has a start placeholder but no end placeholder in reference template!`);
throw new Error(
`Category ${category} has a start placeholder but no end placeholder in reference template!`,
);
}

const commandList: string[] = [];
Expand Down
3 changes: 2 additions & 1 deletion src/commands/actor/calculate-memory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export class ActorCalculateMemoryCommand extends ApifyCommand<typeof ActorCalcul
default: DEFAULT_INPUT_PATH,
}),
defaultMemoryMbytes: Flags.string({
description: 'Memory-calculation expression (in MB). If omitted, the value is loaded from the actor.json file.',
description:
'Memory-calculation expression (in MB). If omitted, the value is loaded from the actor.json file.',
required: false,
}),
build: Flags.string({
Expand Down
8 changes: 6 additions & 2 deletions src/commands/actors/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ export class ActorsCallCommand extends ApifyCommand<typeof ActorsCallCommand> {
if (!this.flags.silent) {
const url = consoleRunUrl(actorId, yieldedRun.id);

const message: string[] = [`${chalk.yellow('Started')}: ${TimestampFormatter.display(yieldedRun.startedAt)}`];
const message: string[] = [
`${chalk.yellow('Started')}: ${TimestampFormatter.display(yieldedRun.startedAt)}`,
];

// container url
if (yieldedRun.containerUrl) {
Expand Down Expand Up @@ -215,7 +217,9 @@ export class ActorsCallCommand extends ApifyCommand<typeof ActorsCallCommand> {
message.push(messageParts.join(' '));

// timeout
message.push(`${chalk.yellow('Timeout')}: ${run.options.timeoutSecs.toLocaleString('en-US')} seconds`);
message.push(
`${chalk.yellow('Timeout')}: ${run.options.timeoutSecs.toLocaleString('en-US')} seconds`,
);

// memory limit
message.push(`${chalk.yellow('Memory')}: ${run.options.memoryMbytes} MB`);
Expand Down
8 changes: 6 additions & 2 deletions src/commands/actors/ls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,8 @@ export class ActorsLsCommand extends ApifyCommand<typeof ActorsLsCommand> {
(item.actor.taggedBuilds ?? {}) as Record<string, ActorTaggedBuild>,
).find(
([tag, data]) =>
data.buildNumber === item.actor!.defaultRunOptions.build || tag === item.actor!.defaultRunOptions.build,
data.buildNumber === item.actor!.defaultRunOptions.build ||
tag === item.actor!.defaultRunOptions.build,
);

if (buildVersionToTag) {
Expand All @@ -268,7 +269,10 @@ export class ActorsLsCommand extends ApifyCommand<typeof ActorsLsCommand> {
if (diff < Time.Week) {
stringParts.push('\n', chalk.gray(`${ShortDurationFormatter.format(diff)} ago`));
} else {
stringParts.push('\n', chalk.gray('On', DateOnlyTimestampFormatter.display(item.lastRun.finishedAt)));
stringParts.push(
'\n',
chalk.gray('On', DateOnlyTimestampFormatter.display(item.lastRun.finishedAt)),
);
}
}

Expand Down
Loading
Loading