Skip to content

Commit 503ae5d

Browse files
committed
Gotta love misleading error messages
1 parent e92ccac commit 503ae5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/upload-release-assets-mochi-physx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
// throw "Missing release asset upload URL!";
2929
//}
3030
31-
function uploadAssets(directoryPath) {
31+
async function uploadAssets(directoryPath) {
3232
for (let filePath of await fs.readdir(directoryPath)) {
3333
filePath = path.join(directoryPath, filePath);
3434
const stats = await fs.stat(filePath);
3535
3636
if (stats.isDirectory()) {
37-
console.log(`Entering directory '${filePath}'`);
38-
uploadAssets(filePath);
37+
console.log(`Entering '${filePath}'`);
38+
await uploadAssets(filePath);
3939
continue;
4040
}
4141
@@ -52,4 +52,4 @@ jobs:
5252
}
5353
}
5454
55-
uploadAssets('.');
55+
await uploadAssets('.');

0 commit comments

Comments
 (0)