initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
15
node_modules/concurrently/dist/src/assert.js
generated
vendored
Normal file
15
node_modules/concurrently/dist/src/assert.js
generated
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.assertDeprecated = assertDeprecated;
|
||||
const deprecations = new Set();
|
||||
/**
|
||||
* Asserts that some condition is true, and if not, prints a warning about it being deprecated.
|
||||
* The message is printed only once.
|
||||
*/
|
||||
function assertDeprecated(check, name, message) {
|
||||
if (!check && !deprecations.has(name)) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.warn(`[concurrently] ${name} is deprecated. ${message}`);
|
||||
deprecations.add(name);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue