We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d42341 commit 23b8bf2Copy full SHA for 23b8bf2
1 file changed
yarnrunner_python/runner.py
@@ -221,13 +221,7 @@ def __run_line(self, instruction):
221
for _i in range(diff - 1):
222
self._line_buffer.append('')
223
224
- self._line_buffer.append(
225
- self._make_line_substitutions(
226
- self.__lookup_string(string_key), line_substitutions))
227
-
228
- @staticmethod
229
- def _make_line_substitutions(line, substitutions):
230
- return line.format(*substitutions)
+ self._line_buffer.append(self.__lookup_string(string_key).format(*line_substitutions))
231
232
def __run_command(self, instruction):
233
# split the command specifier by spaces, ignoring spaces
0 commit comments