Skip to content

Commit cb86527

Browse files
Copilotpelikhan
andauthored
fix: clean up JSDoc comment escaping in isReadPathAllowedByShellRules
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 20a7d13 commit cb86527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

actions/setup/js/copilot_sdk_permissions.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function extractReadablePathPatternsFromShellRule(shellRule) {
163163
* @param {string[]} allowedPathPatterns
164164
* @param {string | undefined} [workspaceRoot] - Optional workspace root for relative pattern matching.
165165
* When provided, absolute paths under this root are also matched against relative patterns by
166-
* stripping the workspace prefix first. This allows shell rules such as `cat pkg/**\/*.go` to
166+
* stripping the workspace prefix first. This allows shell rules like `cat pkg/**\/*.go` to
167167
* permit `view` tool requests that arrive as absolute paths (e.g.
168168
* `/home/runner/work/gh-aw/gh-aw/pkg/workflow/file.go`).
169169
* @returns {boolean}

0 commit comments

Comments
 (0)