mirror of
https://github.com/github/codeql-action
synced 2026-05-27 10:01:44 +03:00
3 lines
138 B
JavaScript
3 lines
138 B
JavaScript
'use strict';
|
|
module.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);
|