Skip to content

Commit 27d8465

Browse files
committed
fix: remove unused sprintf
1 parent b187599 commit 27d8465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/Environment/DownloadEnvironmentVariablesCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ protected function perform(InputInterface $input, ConsoleOutput $output)
7575
$environment = $this->getStringArgument($input, 'environment');
7676
$filename = sprintf('.env.%s', $environment);
7777

78-
$this->filesystem->dumpFile(sprintf($this->projectDirectory.'/'.$filename), $this->apiClient->getEnvironmentVariables($this->projectConfiguration->getProjectId(), $environment)->sortKeys()->map(function (string $value, string $key) {
78+
$this->filesystem->dumpFile($this->projectDirectory.'/'.$filename, $this->apiClient->getEnvironmentVariables($this->projectConfiguration->getProjectId(), $environment)->sortKeys()->map(function (string $value, string $key) {
7979
return sprintf('%s=%s', $key, $value);
8080
})->join("\n"));
8181

0 commit comments

Comments
 (0)