Skip to content

Commit

Permalink
squash
Browse files Browse the repository at this point in the history
  • Loading branch information
vsverchinsky committed Jul 8, 2024
1 parent e32c02b commit 4d91f18
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
12 changes: 11 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import globals from "globals";
import pluginJs from "@eslint/js";


export default [
{files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
{
files: ["dist/**/*.js"],
languageOptions: {sourceType: "commonjs"}
},
{languageOptions: { globals: globals.node }},
pluginJs.configs.recommended,
{
rules: {
"no-unused-vars": "warn"
}
}
];
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"fs-temp": "^2.0.1",
"md5": "2.3.0",
"simple-plist": "1.3.1",
"bplist-creator": "0.1.1",
"yaml": "2.4.5"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions package/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const core = require('@actions/core');
const artifact = require('@actions/artifact');
const DefaultArtifactClient = require('@actions/artifact');

const fs = require('fs');
const path = require('path');
Expand Down Expand Up @@ -167,7 +167,7 @@ async function run() {

const filesList = await fs.promises.readdir(packageDir);

const artifactClient = artifact.create();
const artifactClient = new DefaultArtifactClient();

for(const file of filesList) {
const ext = path.extname(file);
Expand Down

0 comments on commit 4d91f18

Please sign in to comment.