amxxpack 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -330,7 +330,7 @@ var AmxxBuilder = /** @class */ (function () {
330
330
  result = _a.sent();
331
331
  result.output.messages.forEach(function (message) {
332
332
  var startLine = message.startLine, type = message.type, code = message.code, text = message.text, filename = message.filename;
333
- var relativeFilePath = path_1.default.relative(process.cwd(), filename);
333
+ var relativeFilePath = filename ? path_1.default.relative(process.cwd(), filename) : relateiveSrcPath;
334
334
  if (type === amxxpc_1.AMXPCMessageType.Error || type === amxxpc_1.AMXPCMessageType.FatalError) {
335
335
  logger_1.default.error("".concat((0, normalize_path_1.default)(relativeFilePath), "(").concat(startLine, ")"), type, code, ':', text);
336
336
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "amxxpack",
3
3
  "description": "AMXXPack",
4
4
  "author": "Hedgehog Fog",
5
- "version": "1.1.0",
5
+ "version": "1.1.1",
6
6
  "license": "MIT",
7
7
  "main": "lib/builder/index.js",
8
8
  "types": "lib/builder/index.d.ts",