odin-js-fundamentals-part-5/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;