Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
feat: build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 6, 2022
1 parent e70acca commit 9ced650
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 73 deletions.
2 changes: 1 addition & 1 deletion build.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"owner":"technote-space","repo":"workflow-conclusion-action","sha":"140a83baecaf8bf532913edd9285e1fd41b4b8d8","ref":"refs/tags/test/v3.0.3.3557522593","tagName":"test/v3.0.3.3557522593","branch":"gh-actions","tags":["test/v3.0.3.3557522593","test/v3.0.3","test/v3.0","test/v3"],"updated_at":"2022-11-27T09:03:24.208Z"}
{"owner":"technote-space","repo":"workflow-conclusion-action","sha":"FETCH_HEAD","ref":"refs/heads/master","tagName":"test/v3.0.3","branch":"gh-actions","tags":["test/v3.0.3","test/v3.0","test/v3"],"updated_at":"2022-12-06T15:51:30.997Z"}
8 changes: 7 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ function getDefaultExportFromCjs (x) {
function getAugmentedNamespace(n) {
var f = n.default;
if (typeof f == "function") {
var a = function () {
var a = function a () {
if (this instanceof a) {
var args = [null];
args.push.apply(args, arguments);
var Ctor = Function.bind.apply(f, args);
return new Ctor();
}
return f.apply(this, arguments);
};
a.prototype = f.prototype;
Expand Down

0 comments on commit 9ced650

Please sign in to comment.