Skip to content

Commit d87fd02

Browse files
committed
add changelog and fix tests for windows
1 parent 9640fa9 commit d87fd02

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
kind: FEATURES
2+
body: 'action/local_command: New action that invokes an executable on the local machine.'
3+
time: 2025-11-03T15:39:52.741799-05:00
4+
custom:
5+
Issue: "450"

internal/provider/action_local_command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ action "local_command" "test" {
248248
command = "notarealcommand"
249249
}
250250
}`,
251-
ExpectError: regexp.MustCompile(`Error: exec: "notarealcommand": executable file not found in \$PATH`),
251+
ExpectError: regexp.MustCompile(`Error: exec: "notarealcommand": executable file not found`),
252252
},
253253
},
254254
})

internal/provider/testdata/TestLocalCommandAction_bash/scripts/example_script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# SPDX-License-Identifier: MPL-2.0
44

55

6-
NAME=$(</dev/stdin)
6+
NAME=$(cat)
77
echo "Hello $NAME!"
88

99
echo "stdin: $NAME, args: $@" >> test_file.txt

0 commit comments

Comments
 (0)