Skip to content

Commit

Permalink
fix: Mark more methods as pure
Browse files Browse the repository at this point in the history
  • Loading branch information
CGNonofr committed Jul 18, 2022
1 parent 4e40991 commit 94754de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rollup/rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ const PURE_FUNCTIONS = new Set([
'registerWorkbenchContribution',
'Object.freeze',
'URI.parse',
'registerColor',
'transparent',
'darken',
'lighten',
'Color.fromHex',
'CommandsRegistry.registerCommand' // It's not pure but we don't want the additional static vscode commands registered
])
const EXTENSIONS = ['', '.ts', '.js']
Expand Down

0 comments on commit 94754de

Please sign in to comment.