mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-02 11:16:48 -05:00
change to module
This commit is contained in:
parent
d98c56bc80
commit
e0838158dc
@ -1,5 +1,5 @@
|
||||
const fetch = require('node-fetch');
|
||||
const exclude = require('./exclude_in_test.json');
|
||||
import fetch from 'node-fetch';
|
||||
import exclude from './exclude_in_test.json';
|
||||
|
||||
const LINKS_OPTIONS = {
|
||||
redirect: 'error',
|
@ -1,5 +1,5 @@
|
||||
const fs = require('fs-extra');
|
||||
const helper = require('./common');
|
||||
import fs from 'fs-extra';
|
||||
import helper from './common.mjs';
|
||||
|
||||
console.log({
|
||||
DEBUG: process.env.DEBUG || false,
|
@ -1,6 +1,6 @@
|
||||
const fs = require('fs-extra');
|
||||
const fetch = require('node-fetch');
|
||||
const helper = require('./common');
|
||||
import fs from 'fs-extra';
|
||||
import fetch from 'node-fetch';
|
||||
import helper from './common.mjs';
|
||||
|
||||
function envvar_undefined(variable_name) {
|
||||
throw new Error(`${variable_name} must be defined`);
|
Loading…
Reference in New Issue
Block a user