UNPKG

@stdlib/process-chdir

Version:

Change the current working directory.

6 lines (5 loc) 314 B
"use strict";var i=function(e,r){return function(){return r||e((r={exports:{}}).exports,r),r.exports}};var c=i(function(o,t){ var u=require("process");function n(e){try{u.chdir(e)}catch(r){return r}return null}t.exports=n });var s=c();module.exports=s; /** @license Apache-2.0 */ //# sourceMappingURL=index.js.map