We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd28676 commit 7bc0225Copy full SHA for 7bc0225
src/dev/build/tasks/uuid_verification_task.js
@@ -17,16 +17,13 @@
17
* under the License.
18
*/
19
20
-import { resolve } from 'path';
21
-
22
import { read } from '../lib';
23
24
export const UuidVerificationTask = {
25
description: 'Verify that no UUID file is baked into the build',
26
27
async run(config, log, build) {
28
- const buildRoot = build.resolvePath();
29
- const uuidFilePath = resolve(buildRoot, 'data', 'uuid');
+ const uuidFilePath = build.resolvePath('data', 'uuid');
30
await read(uuidFilePath).then(
31
function success() {
32
throw new Error(`UUID file should not exist at [${uuidFilePath}]`);
0 commit comments