Skip to content

Commit

Permalink
change slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Roaders committed May 10, 2022
1 parent 7cf74e6 commit a07c8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export function (){

Insert code can also be performed in code:

[//]: # (ts-command-line-args_readme-generation_insertCodeBelow file="src\example\insert-code.example.ts" codeComment="typescript" )
[//]: # (ts-command-line-args_readme-generation_insertCodeBelow file="src/example/insert-code.example.ts" codeComment="typescript" )
```typescript
async function insertSampleCode() {
// this function is inserted into markdown from a ts file using insertCode
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/insert-code.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async function loadLines(
);
}
const codeCommentResult = codeCommentRegExp.exec(result.line);
const partialPath = partialPathResult[1];
const partialPath = normalize(partialPathResult[1]);

const filePath = normalize(
isAbsolute(partialPath) ? partialPath : join(dirname(targetFilePath), partialPathResult[1]),
Expand Down

0 comments on commit a07c8e3

Please sign in to comment.