Skip to content

Instantly share code, notes, and snippets.

@dawsbot
Last active March 24, 2017 17:51
Show Gist options
  • Save dawsbot/988bbb64e6944f629ff58ec370bd6986 to your computer and use it in GitHub Desktop.
Save dawsbot/988bbb64e6944f629ff58ec370bd6986 to your computer and use it in GitHub Desktop.
const tmpDir = path.join(os.tmpdir(), Math.random().toString().slice(8), basename);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment