Skip to content

Commit

Permalink
fix: normalize INIT_CWD (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
merceyz authored and arcanis committed Jan 9, 2020
1 parent aaf24b9 commit afa784a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/yarnpkg-core/sources/scriptUtils.ts
Expand Up @@ -51,7 +51,7 @@ export async function makeScriptEnv({project, lifecycleScript}: {project?: Proje
}

if (project)
scriptEnv.INIT_CWD = project.configuration.startingCwd;
scriptEnv.INIT_CWD = npath.fromPortablePath(project.configuration.startingCwd);

scriptEnv.PATH = scriptEnv.PATH
? `${nativeBinFolder}${npath.delimiter}${scriptEnv.PATH}`
Expand Down

0 comments on commit afa784a

Please sign in to comment.