mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 10:47:32 +00:00
Initial commit
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
module.exports = x => (
|
||||
x instanceof Promise ||
|
||||
(
|
||||
x !== null &&
|
||||
typeof x === 'object' &&
|
||||
typeof x.then === 'function' &&
|
||||
typeof x.catch === 'function'
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user