Skip to content

Commit

Permalink
Merge 4a46c85 into 2d9798e
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Aug 6, 2019
2 parents 2d9798e + 4a46c85 commit 665b4be
Show file tree
Hide file tree
Showing 15 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli.js
@@ -1,5 +1,7 @@
#!/usr/bin/env node

'use strict';

const os = require('os');
const chalk = require('chalk');
const meow = require('meow');
Expand Down
2 changes: 2 additions & 0 deletions index.js
@@ -1,5 +1,7 @@
/* eslint-disable promise/prefer-await-to-then */

'use strict';

const path = require('path');
const fs = require('fs-extra');
const through2 = require('through2');
Expand Down
2 changes: 2 additions & 0 deletions src/array.js
@@ -1,3 +1,5 @@
'use strict';

async function mapAsync(array = [], callback = a => a) {
const result = [];
for (const index of array.keys()) {
Expand Down
2 changes: 2 additions & 0 deletions src/config.js
@@ -1,3 +1,5 @@
'use strict';

const Joi = require('@hapi/joi');
const debug = require('debug')('critical:config');
const {ConfigError} = require('./errors');
Expand Down
2 changes: 2 additions & 0 deletions src/core.js
@@ -1,3 +1,5 @@
'use strict';

const {EOL} = require('os');
const path = require('path');
const chalk = require('chalk');
Expand Down
2 changes: 2 additions & 0 deletions src/errors.js
@@ -1,3 +1,5 @@
'use strict';

const chalk = require('chalk');
const {stripIndents, stripIndent} = require('common-tags');

Expand Down
2 changes: 2 additions & 0 deletions src/file.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const os = require('os');
const url = require('url');
Expand Down
2 changes: 2 additions & 0 deletions test/array.test.js
@@ -1,3 +1,5 @@
'use strict';

const {mapAsync, reduceAsync, filterAsync, forEachAsync} = require('../src/array');

const waitFor = ms => new Promise(resolve => setTimeout(resolve, ms));
Expand Down
2 changes: 2 additions & 0 deletions test/blackbox.test.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const {createServer} = require('http');
const getPort = require('get-port');
Expand Down
2 changes: 2 additions & 0 deletions test/cli.test.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const readPkgUp = require('read-pkg-up');
const execa = require('execa');
Expand Down
2 changes: 2 additions & 0 deletions test/config.test.js
@@ -1,3 +1,5 @@
'use strict';

const {ConfigError} = require('../src/errors');
const {getOptions, DEFAULT} = require('../src/config');

Expand Down
2 changes: 2 additions & 0 deletions test/core.test.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const {createServer} = require('http');
const getPort = require('get-port');
Expand Down
2 changes: 2 additions & 0 deletions test/file.test.js
@@ -1,5 +1,7 @@
/* eslint-disable no-await-in-loop */

'use strict';

const {createServer} = require('http');
const path = require('path');
const getPort = require('get-port');
Expand Down
2 changes: 2 additions & 0 deletions test/helper/index.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const fs = require('fs-extra');
const array = require('stream-array');
Expand Down
2 changes: 2 additions & 0 deletions test/index.test.js
@@ -1,3 +1,5 @@
'use strict';

const path = require('path');
const fs = require('fs-extra');
const vinylStream = require('vinyl-source-stream');
Expand Down

0 comments on commit 665b4be

Please sign in to comment.