Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Commit ea5545a

Browse files
authored
chore(cloud-rad): Add code fencing (#1035)
* chore(cloud-rad): Add code fencing * Fix lint
1 parent 3f99771 commit ea5545a

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

src/agent/util/utils.ts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,20 @@ function resolveScripts(
157157
* We incrementally consider more components of the path until we find a unique
158158
* match, or return all the potential matches.
159159
*
160-
* @example findScriptsFuzzy('a/b.js', ['/d/b.js']) // -> ['/d/b.js']
161-
* @example findScriptsFuzzy('a/b.js', ['/c/b.js', '/d/b.js']); // -> []
162-
* @example findScriptsFuzzy('a/b.js', ['/x/a/b.js', '/y/a/b.js'])
160+
* @example
161+
* ```
162+
* findScriptsFuzzy('a/b.js', ['/d/b.js']) // -> ['/d/b.js']
163+
* ```
164+
* @example
165+
* ```
166+
* findScriptsFuzzy('a/b.js', ['/c/b.js', '/d/b.js']); // -> []
167+
* ```
168+
* @example
169+
* ```
170+
* findScriptsFuzzy('a/b.js', ['/x/a/b.js', '/y/a/b.js'])
163171
* // -> ['x/a/b.js', 'y/a/b.js']
164172
*
173+
* ```
165174
* @param {string} scriptPath partial path to the script.
166175
* @param {array<string>} fileList an array of absolute paths of filenames
167176
* available.

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ let debuglet: Debuglet;
3232
* https://www.youtube.com/watch?v=tyHcK_kAOpw}
3333
*
3434
* @example
35+
* ```
3536
* debug.startAgent();
37+
* ```
3638
*/
3739
export function start(
3840
options?: DebugAgentConfig | StackdriverConfig

0 commit comments

Comments
 (0)