@softlimit/theme-envy 0.1.5-alpha → 0.1.6-alpha
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ module.exports = function() {
|
|
16
16
|
const shopify = spawn('shopify', themePull, { cwd: ThemeEnvy.outputPath, stdio: 'inherit' })
|
17
17
|
|
18
18
|
shopify.on('exit', function() {
|
19
|
-
const files = glob.sync(path.resolve(ThemeEnvy.outputPath, '{templates,config,sections}/**/*.json')).filter(file => file.indexOf('settings_schema')
|
19
|
+
const files = glob.sync(path.resolve(ThemeEnvy.outputPath, '{templates,config,sections}/**/*.json')).filter(file => file.indexOf('settings_schema') === -1)
|
20
20
|
files.forEach(file => fs.copyFileSync(file, file.replace(ThemeEnvy.outputPath, ThemeEnvy.themePath)))
|
21
21
|
})
|
22
22
|
}
|