diff options
Diffstat (limited to 'cli/tests/testdata/npm/registry/@denotest/binary-package/1.0.0/index.js')
-rw-r--r-- | cli/tests/testdata/npm/registry/@denotest/binary-package/1.0.0/index.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/binary-package/1.0.0/index.js b/cli/tests/testdata/npm/registry/@denotest/binary-package/1.0.0/index.js deleted file mode 100644 index 5870118e7..000000000 --- a/cli/tests/testdata/npm/registry/@denotest/binary-package/1.0.0/index.js +++ /dev/null @@ -1,13 +0,0 @@ -const packageByOs = { - "darwin": "@denotest/binary-package-mac", - "linux": "@denotest/binary-package-linux", - "win32": "@denotest/binary-package-windows", -} - -const selectedPackage = packageByOs[process.platform]; - -if (!selectedPackage) { - throw new Error("trying to run on unsupported platform"); -} - -require(selectedPackage);
\ No newline at end of file |