diff --git a/src/Index.ts b/src/Index.ts index b4f3389..103a6ad 100644 --- a/src/Index.ts +++ b/src/Index.ts @@ -1,9 +1,5 @@ import { checkSudo, checkNodeVersion, checkPlatform, checkPlatformExact } from './Util'; -if (!checkSudo()) { - throw new Error("You need to be root to run this package."); -}; - if (!checkNodeVersion()) { throw new Error(`The Node version must be at least v14 or above.`); };