From d78e6fa7112e69c890dd111a43015c68cb1c00b8 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 21 Oct 2014 10:12:05 -0700 Subject: [PATCH] Build path manually --- src/package.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/package.coffee b/src/package.coffee index 5302da69c..0a810de2d 100644 --- a/src/package.coffee +++ b/src/package.coffee @@ -27,7 +27,7 @@ class Package @stylesheetsDir: 'stylesheets' @isBundledPackagePath: (packagePath) -> - @resourcePathWithTrailingSlash ?= path.join(atom.getLoadSettings().resourcePath, path.sep) + @resourcePathWithTrailingSlash ?= "#{atom.getLoadSettings().resourcePath}#{path.sep}" packagePath?.startsWith(@resourcePathWithTrailingSlash) @loadMetadata: (packagePath, ignoreErrors=false) ->