Skip to content

Commit

Permalink
Update license comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed May 16, 2022
1 parent 5181cf7 commit 83de4f1
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 15 deletions.
Expand Up @@ -9,7 +9,7 @@ const [parse, generate] = await Promise.all([
]).catch(error =>
Promise.reject(
new Error(
"Before rnning generate-helpers.js you must compile @babel/parser, @babel/generator and @babel/types.",
"Before running generate-helpers.js you must compile @babel/parser, @babel/generator and @babel/types.",
{ cause: error }
)
)
Expand All @@ -32,10 +32,7 @@ const HEADER = `/* @minVersion ${MIN_VERSION} */
/* eslint-disable */
`;

const COPYRIGHT =
`/*! Copyright (c) 2014-present, Facebook, Inc. --` +
` This source code is licensed under the MIT license found at` +
` https://github.com/facebook/regenerator/blob/main/LICENSE */`;
const COPYRIGHT = `/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */`;

export default function generateRegeneratorRuntimeHelper() {
const ast = parse(REGENERATOR_RUNTIME_IN_FILE, { sourceType: "script" });
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-helpers/src/helpers-generated.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/babel-helpers/src/helpers/regeneratorRuntime.js
Expand Up @@ -9,7 +9,7 @@
export default function _regeneratorRuntime() {
"use strict";

/*! Copyright (c) 2014-present, Facebook, Inc. -- This source code is licensed under the MIT license found at https://github.com/facebook/regenerator/blob/main/LICENSE */
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
_regeneratorRuntime = function () {
return exports;
};
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 83de4f1

Please sign in to comment.