From 9a4b62b976766aefd8f610551fc95fad356e071a Mon Sep 17 00:00:00 2001 From: Jeremy Gayed Date: Wed, 17 Aug 2016 15:57:06 -0400 Subject: [PATCH] Make .editorconfig symlink relative --- cli/actions/setup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/actions/setup.js b/cli/actions/setup.js index fca9850e2..ab99cbcad 100644 --- a/cli/actions/setup.js +++ b/cli/actions/setup.js @@ -97,7 +97,7 @@ module.exports = (program) => { // Creates a symbolic link from our local // .editorconfig to the user's base directory. const createEditorconfigLink = () => { - const editorPath = path.join(userRootPath, 'node_modules/kyt/.editorconfig'); + const editorPath = './node_modules/kyt/.editorconfig'; const configPath = path.join(userRootPath, '.editorconfig'); if (shell.ln('-s', editorPath, configPath).code === 0) { logger.task('Linked .editorconfig');