use backslash

pull/7786/head
Yuichiro Yamashita 4 years ago
parent 433996ced9
commit 0a6280786e

@ -62,7 +62,7 @@ const get_functions = async (name) => {
const build_output = (functions) => { const build_output = (functions) => {
const sorted = Array.from(new Set(functions.sort())); const sorted = Array.from(new Set(functions.sort()));
return ` return `\
/** ---------------------------------------------------------------------- /** ----------------------------------------------------------------------
This file is automatically generated by \`scripts/globals-extractor.mjs\`. This file is automatically generated by \`scripts/globals-extractor.mjs\`.
Generated At: ${new Date().toISOString()} Generated At: ${new Date().toISOString()}
@ -71,7 +71,7 @@ Generated At: ${new Date().toISOString()}
export default new Set([ export default new Set([
${sorted.map((i) => `\t'${i}'`).join(',\n')} ${sorted.map((i) => `\t'${i}'`).join(',\n')}
]); ]);
`.substring(1); `;
}; };
const get_exists_globals = () => { const get_exists_globals = () => {

@ -1,6 +1,6 @@
/** ---------------------------------------------------------------------- /** ----------------------------------------------------------------------
This file is automatically generated by `scripts/globals-extractor.mjs`. This file is automatically generated by `scripts/globals-extractor.mjs`.
Generated At: 2022-09-03T15:10:02.144Z Generated At: 2022-09-03T15:22:37.415Z
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
export default new Set([ export default new Set([

Loading…
Cancel
Save