Skip to content

Commit 10f1b43

Browse files
committed
Fixing repochat action
1 parent fc95b0d commit 10f1b43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

action/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'fs';
22
import path from 'path';
33
import axios from 'axios';
44
import * as core from '@actions/core';
5-
import { Container, createClient, Secret } from '@scaleway/sdk';
5+
import { Container, createClient } from '@scaleway/sdk';
66

77
const providers = ['scaleway'];
88

@@ -57,7 +57,7 @@ async function ingestFiles(directoryPath, apiUrl, ingestSecret, excludeFiles = [
5757
const stats = fs.statSync(directoryPath);
5858
if (stats.isFile()) {
5959
if (isValidFile(directoryPath) && !isExcluded(directoryPath, excludeFiles)) {
60-
await processFile(directoryPath, apiUrl);
60+
await processFile(directoryPath, apiUrl, ingestSecret);
6161
}
6262
return;
6363
}

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73738,7 +73738,7 @@ async function ingestFiles(directoryPath, apiUrl, ingestSecret, excludeFiles = [
7373873738
const stats = fs__WEBPACK_IMPORTED_MODULE_0__.statSync(directoryPath);
7373973739
if (stats.isFile()) {
7374073740
if (isValidFile(directoryPath) && !isExcluded(directoryPath, excludeFiles)) {
73741-
await processFile(directoryPath, apiUrl);
73741+
await processFile(directoryPath, apiUrl, ingestSecret);
7374273742
}
7374373743
return;
7374473744
}

0 commit comments

Comments
 (0)