Skip to content

Commit 1e1355b

Browse files
remove "--silent" when adding cypress (#77)
1 parent fb24f9c commit 1e1355b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## [Unreleased]
22

33
### Fixed
4+
* remove "--silent" option when adding cypress [PR 76](https://github.com/shakacode/cypress-on-rails/pull/76)
45
* update cypress examples to use "preserve" instead of "whitelist" [PR 75](https://github.com/shakacode/cypress-on-rails/pull/75) by [alvincrespo](https://github.com/alvincrespo)
56

67

lib/generators/cypress_on_rails/install_generator.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ def install_cypress
1212
install_dir = "#{Dir.pwd}/#{directories.join('/')}"
1313
command = nil
1414
if options.install_cypress_with == 'yarn'
15-
command = "yarn --cwd=#{install_dir} add cypress --dev --silent"
15+
command = "yarn --cwd=#{install_dir} add cypress --dev"
1616
elsif options.install_cypress_with == 'npm'
17-
command = "cd #{install_dir}; npm install cypress --save-dev --silent"
17+
command = "cd #{install_dir}; npm install cypress --save-dev"
1818
end
1919
if command
2020
say command

0 commit comments

Comments
 (0)