mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-10 05:40:06 +00:00
chore(refactor): change property name in PollOptions
This commit is contained in:
@@ -23,7 +23,7 @@ export async function pollJobState(
|
|||||||
|
|
||||||
const logFileName = `${postedJob.name || 'job'}-${generateTimestamp()}.log`
|
const logFileName = `${postedJob.name || 'job'}-${generateTimestamp()}.log`
|
||||||
const logFilePath = `${
|
const logFilePath = `${
|
||||||
pollOptions?.logFilePath || process.cwd()
|
pollOptions?.logFolderPath || process.cwd()
|
||||||
}/${logFileName}`
|
}/${logFileName}`
|
||||||
|
|
||||||
if (authConfig) {
|
if (authConfig) {
|
||||||
|
|||||||
@@ -2,5 +2,5 @@ export interface PollOptions {
|
|||||||
maxPollCount: number
|
maxPollCount: number
|
||||||
pollInterval: number
|
pollInterval: number
|
||||||
streamLog: boolean
|
streamLog: boolean
|
||||||
logFilePath?: string
|
logFolderPath?: string
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user