Skip to content

Commit a9a791b

Browse files
author
Eric Terry
committed
Fixed bug with finding a group
1 parent 167c3df commit a9a791b

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,21 @@ sudo make -C /usr/ports/security/lastpass-cli all install clean
4747
apt-cyg install wget make cmake gcc-core gcc-g++ openssl-devel libcurl-devel libxml2-devel libiconv-devel cygutils-extra
4848
```
4949

50-
Instructions for building manually: https://github.com/lastpass/lastpass-cli#building
50+
### Instructions for building manually
51+
52+
```bash
53+
git clone https://github.com/lastpass/lastpass-cli.git
54+
cd lastpass-cli
55+
git checkout v1.1.2 # Or whatever version you'd like
56+
cmake . && make
57+
sudo make install
58+
# Reload path or login to a new shell terminal
59+
lpass --version
60+
# or
61+
./lpass --version
62+
```
63+
64+
Further instructions can be found here: https://github.com/lastpass/lastpass-cli#building
5165

5266
## Usage
5367

lib/lastpass-api/groups.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Lastpass
22
class Groups < Collection
33

44
def find( search_text, with_password: false )
5-
search_text << '/' unless search_text.end_with? '/'
5+
search_text << '/' unless search_text.to_s.end_with? '/'
66
params = super
77
if params.is_a?( Hash ) && params[:name]&.end_with?( '/' )
88
Group.new( params )

lib/lastpass-api/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Lastpass
2-
VERSION = '0.2.1'
2+
VERSION = '0.2.2'.freeze
33
end

0 commit comments

Comments
 (0)