Skip to content

Commit

Permalink
treehouses clone enhance error message (fixes #2059) (#2066)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
JLKwong and dogi authored Mar 8, 2021
1 parent ff08cff commit 4c4a6c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function clone {
#echo "$b - /dev/sdb"

if [ -z "$a" ] || [ -z "$b" ]; then
echo "Error: the device $device wasn't detected"
echo "Error: the device $device wasn't detected. Please use 'fdisk -l' to find the device name."
return 1
fi

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@treehouses/cli",
"version": "1.25.15",
"version": "1.25.16",
"remote": "4000",
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
"main": "cli.sh",
Expand Down

0 comments on commit 4c4a6c7

Please sign in to comment.