Skip to content

Commit

Permalink
Merge pull request #178 from sasjs/cli-issue-1164
Browse files Browse the repository at this point in the history
Compile Tree improvements
  • Loading branch information
YuryShkoda authored Mar 17, 2022
2 parents 85fa446 + 2fa1449 commit 43fb67b
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 121 deletions.
5 changes: 1 addition & 4 deletions src/compileTree/compileTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,4 @@ export class CompileTree {

// Removes header from SAS file
export const removeHeader = (content: string) =>
content.replace(
new RegExp(`^\\/\\*[\\s\\S]*\\*\\/${newLine()}${newLine()}`),
''
)
content.replace(new RegExp(`\\/(\\*){1,2}([\\s\\S]*?)(\\*){1,2}\\/`), '')
Loading

0 comments on commit 43fb67b

Please sign in to comment.