This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const {emitWarning} = process; | |
process.emitWarning = (warning, ...args) => { | |
if (args[0] === 'ExperimentalWarning') { | |
return; | |
} | |
if (typeof args[0] === 'object' && args[0].type === 'ExperimentalWarning') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
// Output of `nyc instrument --compact false test.js` with some minor whitespace tweaks for readability. | |
'use strict'; | |
var cov_1t9w05ivrg = function () { | |
var path = "index.js", | |
hash = "1d887032f57e5b850e147fc91c3f2b4382c506bd", | |
Function = function () {}.constructor, | |
global = new Function('return this')(), | |
gcv = "__coverage__", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -e | |
npmname=$1 | |
destination=/usr/src/npm/$npmname | |
if test -d $destination; then | |
echo "$npmname is already cloned into:" | |
echo " $destination" | |
exit 0 | |
fi |