Skip to content

Commit dcea83d

Browse files
singularopingers
authored andcommitted
The upstream project creation tool no longer creates services.yml, don't try and update permissions on it. (#33)
1 parent 1976268 commit dcea83d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Handler.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ public function modifySettingsFile()
162162
" // Glob the secret path for secrets, that match pattern \n" .
163163
" foreach( glob( rtrim(getenv('UA_MW_SECRET_PATH'),DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . 'UA_MW_*') as \$secret) {\n" .
164164
" \$settings['ua_middleware_service'][pathinfo(\$secret)['filename']] = file_get_contents(\$secret);\n" .
165-
" }\n" .
166-
"}\n" .
165+
" }\n" .
166+
"}\n" .
167167
"/**\n * END SHEPHERD CONFIG\n */\n" .
168168
"\n" .
169169
"/**\n * START LOCAL CONFIG\n */\n" .
@@ -187,7 +187,6 @@ public function modifySettingsFile()
187187
public function removeWritePermissions()
188188
{
189189
$root = $this->getDrupalRootPath();
190-
$this->filesystem->chmod($root . '/sites/default/services.yml', 0444);
191190
$this->filesystem->chmod($root . '/sites/default/settings.php', 0444);
192191
$this->filesystem->chmod($root . '/sites/default', 0555);
193192
}

0 commit comments

Comments
 (0)