odin-js-fundamentals-part-4/node_modules/is-docker/cli.js

6 lines
105 B
JavaScript
Raw Permalink Normal View History

2024-01-05 19:30:21 +00:00
#!/usr/bin/env node
'use strict';
const isDocker = require('.');
process.exitCode = isDocker() ? 0 : 2;