Skip to content

Commit 6e1cb45

Browse files
committed
fix: log the promise result, not the promise
1 parent 9aa587c commit 6e1cb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/buildkite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export async function buildkiteReadPipelines(
3131
paginate: { all },
3232
} = gotInstance(config);
3333

34-
const pipelines = all<Pipeline>('pipelines?page=1&per_page=100');
34+
const pipelines = await all<Pipeline>('pipelines?page=1&per_page=100');
3535
logger.debug('All pipelines: %o', pipelines);
3636
return pipelines;
3737
}

0 commit comments

Comments
 (0)