securityos/node_modules/is-docker/cli.js

6 lines
105 B
JavaScript
Executable File

#!/usr/bin/env node
'use strict';
const isDocker = require('.');
process.exitCode = isDocker() ? 0 : 2;