Skip to content

Commit f8962e6

Browse files
Pijukatelbarjin
andcommitted
Update packages/apify/src/actor.ts
Co-authored-by: Jindřich Bär <[email protected]>
1 parent 8cbd80d commit f8962e6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/apify/src/actor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2344,8 +2344,7 @@ export class Actor<Data extends Dictionary = Dictionary> {
23442344
}
23452345
log.warning(
23462346
'Returning `undefined` instead of remaining time. Using `RemainingTime` argument is only possible when ' +
2347-
'the Actor is running on the Apify platform and when the timeout for the Actor run is set. ' +
2348-
`${env.isAtHome}, ${env.timeoutAt}`,
2347+
'the Actor is running on the Apify platform and when the timeout for the Actor run is set.',
23492348
);
23502349
return undefined;
23512350
}

test/apify/charging.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { Actor } from "apify/src/index.js";
12
import { afterEach, beforeEach, describe, expect, test } from 'vitest';
23

3-
import { Actor } from '../../packages/apify/src/index.js';
44
import { MemoryStorageEmulator } from '../MemoryStorageEmulator.js';
55

66
describe('ChargingManager', () => {

0 commit comments

Comments
 (0)