Skip to content

Commit

Permalink
FOLDER_NOT_ACCESSIBLE
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed May 11, 2020
1 parent 3e9a2b8 commit 62b4bc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/server/lib/errors.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -944,14 +944,14 @@ getMsgByType = (type, arg1 = {}, arg2, arg3) ->
To avoid this error, ensure that there are no other instances of Firefox launched by Cypress running.
"""
when "FOLDER_NOT_ACCESSIBLE"
when "FOLDER_NOT_WRITABLE"
"""
Folder #{arg1} is not writable.
Writing to this directory is required by Cypress in order to store screenshots and videos.
Enable write permissions to this directory to ensure screenshots and videos are stored.
Enable write permissions to this directory to ensure screenshots and videos are stored.
If you don't require screenshots or videos to be stored you can safely ignore this warning.
"""

Expand Down
2 changes: 1 addition & 1 deletion packages/server/lib/util/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ module.exports = {
return this._err('CONFIG_FILE_NOT_FOUND', this.configFile(options), projectRoot)
}).catch({ code: 'EACCES' }, () => {
// we cannot write due to folder permissions
return errors.warning('FOLDER_NOT_ACCESSIBLE', projectRoot)
return errors.warning('FOLDER_NOT_WRITABLE', projectRoot)
}).catch((err) => {
if (errors.isCypressErr(err)) {
throw err
Expand Down

0 comments on commit 62b4bc9

Please sign in to comment.