mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08: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()}`);
|