Skip to content

Commit d6ce71b

Browse files
author
ajohns
committed
Merge branch 'aguiot-powershell_function_args_splatting'
2 parents 106b71a + 8cfcb8e commit d6ce71b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 2.93.2 (2021-08-03)
4+
[Source](https://github.com/nerdvegas/rez/tree/2.93.2) | [Diff](https://github.com/nerdvegas/rez/compare/2.93.1...2.93.2)
5+
6+
**Merged pull requests:**
7+
8+
- Prevent alias (windows function) to store all arguments in one string instead of an array of strings [\#1101](https://github.com/nerdvegas/rez/pull/1101) ([aguiot](https://github.com/aguiot))
9+
310
## 2.93.1 (2021-08-03)
411
[Source](https://github.com/nerdvegas/rez/tree/2.93.1) | [Diff](https://github.com/nerdvegas/rez/compare/2.93.0...2.93.1)
512

src/rez/utils/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33
# Update this value to version up Rez. Do not place anything else in this file.
4-
_rez_version = "2.93.1"
4+
_rez_version = "2.93.2"
55

66

77
# Copyright 2013-2016 Allan Johns.

src/rezplugins/shell/_utils/powershell_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def alias(self, key, value):
273273
value = EscapedString.disallow(value)
274274
# TODO: Find a way to properly escape paths in alias() calls that also
275275
# contain args
276-
cmd = "function {key}() {{ {value} $args }}"
276+
cmd = "function {key}() {{ {value} @args }}"
277277
self._addline(cmd.format(key=key, value=value))
278278

279279
def comment(self, value):

0 commit comments

Comments
 (0)