Skip to content

Commit

Permalink
chore(setler-cli): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mankins committed Oct 18, 2023
1 parent 0d157ce commit 35b299b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
6 changes: 6 additions & 0 deletions identity-wallet/setler-cli/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ Subsections: (Added, Changed, Deprecated, Removed, Fixed, Security)

## [Unreleased]

## [0.0.28] - 2023-10-18

### Added

- Support for Windows paths

## [0.0.27] - 2023-09-26

### Changed
Expand Down
2 changes: 1 addition & 1 deletion identity-wallet/setler-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@loremlabs/setler",
"version": "0.0.27",
"version": "0.0.28",
"description": "setler command-line tool, a non-custodial identity wallet with kudos support",
"license": "MIT",
"type": "module",
Expand Down
5 changes: 3 additions & 2 deletions identity-wallet/setler-cli/src/actions/kudos.js
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,9 @@ const exec = async (context) => {
const weights = [];
const kudosMemos = [];
let kudosCreatorsAdded = false;
let shouldAddKudosCreators =
context.flags.dontSendKudosToSetlerTeam ? false: true; // defaults to send kudos to setler team
let shouldAddKudosCreators = context.flags.dontSendKudosToSetlerTeam
? false
: true; // defaults to send kudos to setler team

if (context.flags.to) {
let kudosMemo = {};
Expand Down
8 changes: 3 additions & 5 deletions identity-wallet/setler-cli/src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ import meow from "meow";
import path from "path";
import setler from "./index.js";
// const __dirname = new URL(".", import.meta.url).pathname;
const __dirname = fileURLToPath(new URL(".", import.meta.url))
const __dirname = fileURLToPath(new URL(".", import.meta.url));
let personality = __dirname.split("/").slice(-3)[0];
personality = personality.replace("-cli", "");

dotenv.config({ path: path.join(__dirname, "..", "/.env") });

const pkgPath = path.join(__dirname, '..', 'package.json');
const pkgJson = JSON.parse(
fs.readFileSync(pkgPath)
);
const pkgPath = path.join(__dirname, "..", "package.json");
const pkgJson = JSON.parse(fs.readFileSync(pkgPath));

// squelch experimental warnings
const originalEmit = process.emit;
Expand Down

2 comments on commit 35b299b

@vercel
Copy link

@vercel vercel bot commented on 35b299b Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 35b299b Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ident-agency-net-enola – ./ident-agency/packages/enola

ident-agency-net-enola.vercel.app
ident-agency-net-enola-loremlabs.vercel.app
ident-agency-net-enola-git-main-loremlabs.vercel.app

Please sign in to comment.