From e30db9ac8bac0a572821d82e2143b4d605cb971d Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com> Date: Sat, 9 Mar 2024 14:46:37 +0530 Subject: [PATCH] fix: dirname import --- CHANGELOG.md | 2 ++ lib/install.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 049505a..993bdef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased +## [0.85.0] + ## Changed - Handle error when trying to create symlink on Windows as non-Administrator [aca09ab](https://github.com/nwjs/npm-installer/commit/aca09abbd315fc87c6c4f813748aa4a5898bbda7) diff --git a/lib/install.js b/lib/install.js index 023e22f..5f74593 100755 --- a/lib/install.js +++ b/lib/install.js @@ -1,8 +1,8 @@ import { createWriteStream, existsSync } from 'node:fs'; import { rename, rm, symlink } from 'node:fs/promises'; import { get } from 'node:https'; -import { resolve } from 'node:path'; -import { arch, dirname, env, platform, exit } from 'node:process'; +import { dirname, resolve } from 'node:path'; +import { arch, env, platform, exit } from 'node:process'; import { URL, fileURLToPath } from 'node:url'; import compressing from 'compressing';