We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b43ea0 + 8af9031 commit e9a687fCopy full SHA for e9a687f
lib/commands/wrapper/index.js
@@ -52,7 +52,7 @@ function setupCommand (name, description, argv, importMeta) {
52
53
if (argv[0] === '--postinstall') {
54
// Check if the wrapper is already enabled before showing the postinstall prompt
55
- const socketWrapperEnabled = (fs.existsSync(BASH_FILE) && checkSocketWrapperAlreadySetup(BASH_FILE)) || (fs.existsSync(ZSH_BASH_FILE) && checkSocketWrapperAlreadySetup(BASH_FILE))
+ const socketWrapperEnabled = (fs.existsSync(BASH_FILE) && checkSocketWrapperAlreadySetup(BASH_FILE)) || (fs.existsSync(ZSH_BASH_FILE) && checkSocketWrapperAlreadySetup(ZSH_BASH_FILE))
56
57
if (!socketWrapperEnabled) {
58
installSafeNpm(`The Socket CLI is now successfully installed! 🎉
0 commit comments