xbar-plugins icon indicating copy to clipboard operation
xbar-plugins copied to clipboard

Add new plugin for github version of gitlab_merge_requests.js

Open SimeonC opened this issue 3 years ago • 3 comments

My company moved from gitlab to github so I re-wrote my plugin to work with github to keep the same workflow.

CleanShot 2022-01-11 at 12 23 41

SimeonC avatar Jan 11 '22 03:01 SimeonC

@matryer Have updated the file name to include the default timeout as in the docs (missed this earlier). Is there anything else blocking this from being merged?

SimeonC avatar Feb 04 '22 05:02 SimeonC

@SimeonC how do you currently set this up? I get an error

import fs from "fs";
^^^^^^

SyntaxError: Cannot use import statement outside a module

viperfx avatar Feb 25 '22 06:02 viperfx

Hmmm, it should just work due to the mjs file extension. What version of node.js are you running?

SimeonC avatar Feb 25 '22 11:02 SimeonC