Skip to content

Commit

Permalink
use backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
baseballyama committed Sep 3, 2022
1 parent 433996c commit 0a62807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/globals-extractor.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const get_functions = async (name) => {

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

const get_exists_globals = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/utils/globals.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** ----------------------------------------------------------------------
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([
Expand Down

0 comments on commit 0a62807

Please sign in to comment.