downgrade to support commonjs
This commit is contained in:
@@ -3,7 +3,7 @@ import * as path from 'path';
|
||||
import * as fs from 'fs';
|
||||
import chalk = require('chalk');
|
||||
const { AutoComplete } = require('enquirer');
|
||||
import clipboardy from 'clipboardy';
|
||||
const clipboardy = require('clipboardy');
|
||||
|
||||
module.exports = {
|
||||
name: 'promptcontextlibrary',
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Octokit } from '@octokit/core';
|
||||
const { Octokit } = require('@octokit/core');
|
||||
|
||||
export const getOrgRepos = async (toolbox, token, org) => {
|
||||
const { print } = toolbox;
|
||||
|
||||
Reference in New Issue
Block a user