Skip to content
Snippets Groups Projects
Commit d242c64b authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:ambulance: Fix prettier volume mount mode; that prevented from writing changes.

parent 34f677c8
No related branches found
No related tags found
1 merge request!96🚑 Fix prettier volume mount mode; that prevented from writing changes.
......@@ -2,6 +2,11 @@
History
=======
15.2.1
------
Fix prettier volume mount mode; that prevented from writing changes.
15.2.0
------
......
......@@ -11,5 +11,5 @@
from .docker_client import DockerClient
from .parsing import apply, basic_parser
__version__ = "1.0.0"
__version__ = "1.0.1"
__date__ = "2022-02-17"
......@@ -15,5 +15,5 @@
__date__ = "2022-02-17"
__updated__ = "2022-02-17"
__updated__ = "2022-03-03"
_logger = logging.getLogger(__name__)
_PRETTIER_DEST = "prettier"
......@@ -78,7 +78,7 @@
volumes = {
pwd: {
"bind": pwd,
"mode": "rw" if write and os.path.samefile(pwd, path) else "ro",
"mode": "rw" if write else "ro",
}
}
# also bind any symbolic link, but only for the given directory or its parent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment