Associate packageName metadata with scoped-properties/ deprecation

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo
2015-01-08 17:41:50 -08:00
committed by Max Brunsfeld
parent c2da368463
commit caf613e7c8
2 changed files with 2 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ class Package
if fs.isDirectorySync(path.join(@path, 'scoped-properties'))
settingsDirPath = path.join(@path, 'scoped-properties')
deprecate("Store package settings files in the `settings` directory instead of `scoped-properties`")
deprecate("Store package settings files in the `settings` directory instead of `scoped-properties`", packageName: @name)
else
settingsDirPath = path.join(@path, 'settings')