Skip to content

Commit

Permalink
Merge pull request #568 from fnbrjs/master
Browse files Browse the repository at this point in the history
3.1.3
  • Loading branch information
ThisNils authored Sep 29, 2022
2 parents 3c132b1 + d2c12a4 commit 197c7f3
Show file tree
Hide file tree
Showing 8 changed files with 1,310 additions and 1,143 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:

strategy:
matrix:
node: ["12", "14", "16"]
node: ["14", "16", "18"]
fail-fast: false

steps:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/dependabot-auto-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: patch
github-token: ${{ secrets.BOT_PAT }}
8 changes: 8 additions & 0 deletions docs/general/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.1.3

### Fixes
* Creative Discovery
* Updated to new the new discovery endpoint

<hr>

## 3.1.2

### Fixes
Expand Down
4 changes: 2 additions & 2 deletions generateExports.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const recursiveReaddir = async (folder) => {
const exceptions = await recursiveReaddir('./src/exceptions');
exceptions.sort();
exceptions.forEach((file) => {
const fileWithoutExtension = file.split('/').at(-1).split('.')[0];
const fileWithoutExtension = file.split('/').pop().split('.')[0];
const filePathWithoutExtension = file.split('.').slice(0, -1).join('.');
output += `export { default as ${fileWithoutExtension} } from '${filePathWithoutExtension}';\n`;
});
Expand All @@ -42,7 +42,7 @@ const recursiveReaddir = async (folder) => {
const structures = await recursiveReaddir('./src/structures');
structures.sort();
structures.forEach((file) => {
const fileWithoutExtension = file.split('/').at(-1).split('.')[0];
const fileWithoutExtension = file.split('/').pop().split('.')[0];
const filePathWithoutExtension = file.split('.').slice(0, -1).join('.');
output += `export { default as ${fileWithoutExtension} } from '${filePathWithoutExtension}';\n`;
});
Expand Down
Loading

0 comments on commit 197c7f3

Please sign in to comment.