|
|
@@ -31,6 +31,7 @@ export default class Compiler {
|
|
31
|
31
|
const resultError = result.find((el) => el instanceof EnvError);
|
|
32
|
32
|
if (resultError !== undefined) return resultError;
|
|
33
|
33
|
|
|
34
|
|
- return result.join(this.prettyPrint ? '\n' : '');
|
|
|
34
|
+ const output = result.join(this.prettyPrint ? '\n' : '');
|
|
|
35
|
+ return this.prettyPrint ? output.trim() : output;
|
|
35
|
36
|
}
|
|
36
|
37
|
}
|