Skip to content

Commit d112052

Browse files
committed
normalize fixture workspace
1 parent 71813d7 commit d112052

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

spec/approvals/fixtures/default-validations

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
+ bundle exec bashly add validations --force
2-
created src/lib/validations/validate_dir_exists.sh
3-
created src/lib/validations/validate_file_exists.sh
4-
created src/lib/validations/validate_integer.sh
5-
created src/lib/validations/validate_not_empty.sh
61
+ bundle exec bashly generate
72
creating user files in src
83
created src/root_command.sh
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
cli
22
src/*.sh
3-
src/lib
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## [@bashly-upgrade validations]
2+
validate_file_exists() {
3+
[[ -f "$1" ]] || echo "must be an existing file"
4+
}

spec/fixtures/workspaces/default-validations/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ rm -f ./cli
55

66
set -x
77

8-
bundle exec bashly add validations --force
98
bundle exec bashly generate
109

1110
./cli

0 commit comments

Comments
 (0)