Skip to content

Commit

Permalink
Eslint complained about shebang, so run these scripts with node
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Nov 18, 2024
1 parent b8dd582 commit a87b43b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/lib/batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export async function trigger(event) {
jobQueue: event.type === 'job' ? t3_queue : t3_priority_queue,
jobName: `OA_Job_${event.job}`,
containerOverrides: {
command: ['./task.js'],
command: ['node', 'task.js'],
environment: [
{ name: 'OA_JOB_ID', value: String(event.job) }
]
Expand All @@ -121,7 +121,7 @@ export async function trigger(event) {
jobQueue: t3_priority_queue,
jobName: `OA_Export_${event.id}`,
containerOverrides: {
command: ['./export.js'],
command: ['node', 'export.js'],
environment: [
{ name: 'OA_EXPORT_ID', value: String(event.id) }
]
Expand All @@ -136,7 +136,7 @@ export async function trigger(event) {
jobQueue: mega_queue,
jobName: 'OA_Collect',
containerOverrides: {
command: ['./collect.js'],
command: ['node', 'collect.js'],
environment: []
}
};
Expand All @@ -146,7 +146,7 @@ export async function trigger(event) {
jobQueue: mega_queue,
jobName: 'OA_Fabric',
containerOverrides: {
command: ['./fabric.js'],
command: ['node', 'fabric.js'],
environment: []
}
};
Expand All @@ -156,7 +156,7 @@ export async function trigger(event) {
jobQueue: t3_queue,
jobName: 'OA_Sources',
containerOverrides: {
command: ['./sources.js'],
command: ['node', 'sources.js'],
environment: []
}
};
Expand Down

0 comments on commit a87b43b

Please sign in to comment.