Comments (20)
One thing you should do is to rename the commit and PR title as cash-cli: 3.1.2
, and we are good to go. π
from cash-cli.
I could remember the details, but it might be because i was just using your suggestion in 3.1.0, and now we are in 3.1.2. I will try to see if it works in my local though.
from cash-cli.
yeah, it works in my local too.
from cash-cli.
@chenrui333 done π
from cash-cli.
Hi @chenrui333, sorry for the delay, but I was on holiday in Spain this week ;)
In 3.1.0 I added the API key validation, so the output of cash --key foo
is now: Provided API key seems invalid, please try again!
and not: 'Saved API key to [...]
. To fix that, we can either change this line to:
assert_match "Provided API key seems invalid, please try again!"
or we can change the test command from cash --key foo
to something like cash --key 11111111111111111111111111111111
and keep assert_match
the same as before.
Let me know which option is better and I will open a pull request to the Homebrew repo π
from cash-cli.
cool, welcome back!
I am outside now, I will check later tonight or tomorrow. Thanks for checking on this!
from cash-cli.
Sorry for trying this late. It seems still not quite working.
I have directly called the command and get the following output:
$ /usr/local/Cellar/cash-cli/3.1.0/bin/cash --key 111111111111111111111111111111
/usr/local/Cellar/cash-cli/3.1.0/libexec/lib/node_modules/cash-cli/node_modules/conf/index.js:58
throw new Error('Project name could not be inferred. Please specify the `projectName` option.');
^
Error: Project name could not be inferred. Please specify the `projectName` option.
from cash-cli.
It also looks like there is no help cli option:
$ /usr/local/Cellar/cash-cli/3.1.0/bin/cash help
/usr/local/Cellar/cash-cli/3.1.0/libexec/lib/node_modules/cash-cli/node_modules/conf/index.js:58
throw new Error('Project name could not be inferred. Please specify the `projectName` option.');
^
Error: Project name could not be inferred. Please specify the `projectName` option.
from cash-cli.
Could you try it with the newest 3.1.1
version? Something was wrong with the conf
module, but it's now updated, so everything should be working fine π
from cash-cli.
Definitely, doing it now.
from cash-cli.
Still had the same issue:
https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/44232/version=mojave/console
06:40:22 ==> /usr/local/Cellar/cash-cli/3.1.1/bin/cash --key foo
06:40:22 /usr/local/Cellar/cash-cli/3.1.1/libexec/lib/node_modules/cash-cli/node_modules/conf/index.js:58
06:40:22 throw new Error('Project name could not be inferred. Please specify the `projectName` option.');
06:40:22 ^
06:40:22
06:40:22 Error: Project name could not be inferred. Please specify the `projectName` option.
from cash-cli.
@xxczaki ping. :)
from cash-cli.
@chenrui333 Ouch, I totally forgot about that! Well, after investigating this issue I realised, that adding a projectName
to conf
module options should fix our problem.
Just published 3.1.2
π Let me know if everything works now (and if not I will open an issue in the conf
repository).
from cash-cli.
Sorry! Accidentally closed it π
from cash-cli.
cool!, will try the new one, cheers!
from cash-cli.
@xxczaki Still failed :( (build ref: https://jenkins.brew.sh/job/Homebrew%20Core%20Pull%20Requests/44594/version=mojave/console)
07:21:13 ==> /usr/local/Cellar/cash-cli/3.1.2/bin/cash --key foo
07:21:13 Error: cash-cli: failed
07:21:13 An exception occurred within a child process:
07:21:13 Test::Unit::AssertionFailedError: <0> expected but was
from cash-cli.
Hmm, error message doesnβt make much sense. Will look at it later today.
from cash-cli.
@chenrui333 Hi, I created a pull request in the Homebrew/homebrew-core repository with changes I suggested in #30 (comment) . It passed the test.
I have no idea why it wasn't working when you tried it in the console.
What should we do?
from cash-cli.
that is cool!! I will close my PR in favor of yours. :)
from cash-cli.
Thanks a lot!! Closing my issue now.
from cash-cli.
Related Issues (15)
- An in-range update of got is breaking the build π¨ HOT 2
- Feature request: default amount = 1 HOT 4
- Internal server error on macOS HOT 2
- Write a guide on how to obtain an API key HOT 1
- Update brew HOT 3
- Help message doesn't reflect reality HOT 1
- Support for Fixer-compatible API sources HOT 2
- ignore `to` keyword HOT 2
- Feature request: offline conversion HOT 1
- An in-range update of xo is breaking the build π¨ HOT 2
- Setting default currencies HOT 2
- Add ability to retrieve historical conversion rates
- https://api.exchangeratesapi.io/latest requires access key HOT 3
- An in-range update of xo is breaking the build π¨ HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cash-cli.